Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2005-06-13 04:36:51

Maksym Motornyy wrote:

> John Torjo wrote:
>> Hi all,
>> Just included the nifty appenders from Caleb, and made some small fixes.
>> Enjoy!
>> Best,
>> John
> I didn't find one very important feature in the library. Can logs be
> removed at all at compile time? At my company we use logging only in
> debug builds.

Yes, they can. Check out BOOST_DECLARE_LOG_DEBUG and

For instance,

// instead of BOST_DECLARE(dbg)

will make 'dbg' log available only in debug mode.


John Torjo,    Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- -v1.6.3 (Resource Splitter)
-- - Click, Build, Run!

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