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.
> 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
// 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 -- http://www.torjo.com/win32gui/ -v1.6.3 (Resource Splitter) -- http://www.torjo.com/cb/ - Click, Build, Run!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk