Boost logo

Boost :

Subject: Re: [boost] [logging] Interest check on logging library.
From: Jason Wagner (jason_at_[hidden])
Date: 2009-01-01 23:38:37

On Thu, 01 Jan 2009 14:24:08 -0500, Emil Dotchevski wrote:
> With risk of being annoying, I'll second my earlier post about "the
> if" in question. :)
> I'd rather have "the if" out of any macros and fully visible in user
> code. That way it would be clear what enables or disables the logging
> statement itself, and what functions are called and when.

You can do this trivially with any logging library if you want it to be
explicit. Just set it the logger to always feed to the sink, then wrap it
with your own ifs. The other methods are for those who want to hide those

Jason Wagner

Boost list run by bdawes at, gregod at, cpdaniel at, john at