
Hi all, Just included the nifty appenders from Caleb, and made some small fixes. Enjoy! http://torjo.com/code/logging-v133.zip Best, John -- 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!

John Torjo wrote:
Hi all,
Just included the nifty appenders from Caleb, and made some small fixes.
Enjoy! http://torjo.com/code/logging-v133.zip
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. Sincerely yours, Maksym Motornyy.

Maksym Motornyy wrote:
John Torjo wrote:
Hi all,
Just included the nifty appenders from Caleb, and made some small fixes.
Enjoy! http://torjo.com/code/logging-v133.zip
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 BOOST_DECLARE_LOG_COMPILE_TIME macros. For instance, // instead of BOST_DECLARE(dbg) BOOST_DECLARE_LOG_DEBUG(dbg) will make 'dbg' log available only in debug mode. Best, John -- 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!
participants (2)
-
John Torjo
-
Maksym Motornyy