|
Boost : |
From: John Torjo (john.groups_at_[hidden])
Date: 2008-02-09 22:44:48
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk