Mercurial > pidgin
annotate src/gtkdebug.h @ 7431:643cbc9a6035
[gaim-migrate @ 8036]
This is good enough for CVS. This is new logging. It centers around the
highly modular "GaimLogLogger," which controls how to write the log. Currently
I only have the plain text logger. I wrote the beginning of an XML logger, but
decided I didn't think it was that great an idea. Plugins can implement loggers
themselves, so you can have, like, an SQL logger or something.
The default logger writes to a file unique to the conversation, and they're saved
on disk in a heirarchical fashion: ~/.gaim/logs/aim/seanegn/robflynn-date.log would
be a conversation I had with Rob on date.
What doesn't work:
System logging
The search button in the log viewer.
Oh, chats probably don't log either, I didn't test.
You can only log in plain text right now.
Obviously, it's not done yet. But you can play around with it, and give it
some love. I'll get back to it tomorrow after school, maybe.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 05 Nov 2003 06:15:49 +0000 |
parents | feb3d21a7794 |
children | fa6395637e2c |
rev | line source |
---|---|
5212 | 1 /** |
5497 | 2 * @file gtkdebug.h GTK+ Debug API |
5212 | 3 * @ingroup gtkui |
4 * | |
5 * gaim | |
6 * | |
5872
059d95c67cda
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5625
diff
changeset
|
7 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
8 * |
5212 | 9 * This program is free software; you can redistribute it and/or modify |
10 * it under the terms of the GNU General Public License as published by | |
11 * the Free Software Foundation; either version 2 of the License, or | |
12 * (at your option) any later version. | |
13 * | |
14 * This program is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
20 * along with this program; if not, write to the Free Software | |
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 */ | |
23 #ifndef _GAIM_GTK_DEBUG_H_ | |
24 #define _GAIM_GTK_DEBUG_H_ | |
25 | |
26 #include "debug.h" | |
27 | |
28 /** | |
5625
73c9dc20e41a
[gaim-migrate @ 6032]
Christian Hammond <chipx86@chipx86.com>
parents:
5497
diff
changeset
|
29 * Initializes the GTK+ debug system. |
73c9dc20e41a
[gaim-migrate @ 6032]
Christian Hammond <chipx86@chipx86.com>
parents:
5497
diff
changeset
|
30 */ |
73c9dc20e41a
[gaim-migrate @ 6032]
Christian Hammond <chipx86@chipx86.com>
parents:
5497
diff
changeset
|
31 void gaim_gtk_debug_init(void); |
73c9dc20e41a
[gaim-migrate @ 6032]
Christian Hammond <chipx86@chipx86.com>
parents:
5497
diff
changeset
|
32 |
73c9dc20e41a
[gaim-migrate @ 6032]
Christian Hammond <chipx86@chipx86.com>
parents:
5497
diff
changeset
|
33 /** |
5212 | 34 * Shows the debug window. |
35 */ | |
36 void gaim_gtk_debug_window_show(void); | |
37 | |
38 /** | |
39 * Hides the debug window. | |
40 */ | |
41 void gaim_gtk_debug_window_hide(void); | |
42 | |
43 /** | |
44 * Returns the UI operations structure for GTK debug output. | |
45 * | |
46 * @return The GTK UI debug operations structure. | |
47 */ | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
48 GaimDebugUiOps *gaim_gtk_debug_get_ui_ops(void); |
5212 | 49 |
50 #endif /* _GAIM_GTK_DEBUG_H_ */ |