
10 Feb
2008
10 Feb
'08
3:44 a.m.
struct log_imap_filter { bool is_enabled() const { return Configuration::singleton().get_bool("imapd_log_imap",false); } };
p.s. You could have said: BOOST_DEFINE_LOG_FILTER_WITH_ARGS(g_log_filter, filter::no_ts, ( Configuration::singleton().get_bool("imapd_log_imap",false) ) ) Best, John -- http://John.Torjo.com -- C++ expert http://blog.torjo.com ... call me only if you want things done right