$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Rob Stewart (stewart_at_[hidden])
Date: 2005-05-05 15:59:05
From: Caleb Epstein <caleb.epstein_at_[hidden]>
> On 5/5/05, Rob Stewart <stewart_at_[hidden]> 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_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;