
5 May
2005
5 May
'05
8:59 p.m.
From: Caleb Epstein <caleb.epstein@gmail.com>
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"; }
Right, but with levels and such coming, it probably won't be quite that simple. -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;