
5 May
2005
5 May
'05
9:34 p.m.
On 5/5/05, Rob Stewart <stewart@sig.com> wrote:
In the general case, one might really need to write
if (logging this level, subsystem, etc.) { do various things including logging messages }
I think you can just use the safe bool conversion in the current loggers for this: if (debug) { do_whatever (); BOOST_LOG(debug) << "Did whatever"; } -- Caleb Epstein caleb dot epstein at gmail dot com