Mercurial > pidgin.yaz
comparison src/log.c @ 11256:bb0d7b719af2
[gaim-migrate @ 13430]
I give you regex filtering in the debug window.
We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter.
This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it.
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sat, 13 Aug 2005 22:09:34 +0000 |
parents | 3924db2b1ca8 |
children | ef9280fdc511 |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
428 return g_list_sort(logs, gaim_log_compare); | 428 return g_list_sort(logs, gaim_log_compare); |
429 } | 429 } |
430 | 430 |
431 void gaim_log_init(void) | 431 void gaim_log_init(void) |
432 { | 432 { |
433 gaim_debug_register_category("log"); | |
434 | |
435 gaim_prefs_add_none("/core/logging"); | 433 gaim_prefs_add_none("/core/logging"); |
436 gaim_prefs_add_bool("/core/logging/log_ims", FALSE); | 434 gaim_prefs_add_bool("/core/logging/log_ims", FALSE); |
437 gaim_prefs_add_bool("/core/logging/log_chats", FALSE); | 435 gaim_prefs_add_bool("/core/logging/log_chats", FALSE); |
438 gaim_prefs_add_bool("/core/logging/log_system", FALSE); | 436 gaim_prefs_add_bool("/core/logging/log_system", FALSE); |
439 gaim_prefs_add_bool("/core/logging/log_signon_signoff", FALSE); | 437 gaim_prefs_add_bool("/core/logging/log_signon_signoff", FALSE); |