Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Log formal review upcoming
From: Eric J. Holtman (eric_at_[hidden])
Date: 2010-03-01 08:38:23


Roland Bock wrote:
>
> For instance, instead of
>
> BOOST_LOG_SEV(slg, normal) << "A regular message";
>
> I'd like to use something like
>
> slg.log(normal) << "A regular message";
>

Pretty sure that's done for performance, so that if the thing
being logged is a complex expression, but yet could be trivially
filtered, it is not evaluated.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net