$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-05-05 14:34:21
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";
}
-- Caleb Epstein caleb dot epstein at gmail dot com