Boost logo

Boost Users :

From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2008-03-19 02:26:14


On Tue, Mar 18, 2008 at 10:52:45PM +0200, John Torjo wrote:
>
> So, if you have your great simple case, shout!
>
log(DEBUG, FEATURE_A, "blah");
log(ERROR, FEATURE_B, "blah");
    [level, facility]
...

It should be possible to influence code generation at compile time, with
level and facility being orthogonal. F.ex. if ENABLE_DEBUG_FEATURE_A
is *not* defined at compile-time, I do *not* want any code generated for
it. (Though, an enabling mechanism other than macros is acceptable, as
long as I can stuff it in a single configuration file.)


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