|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2005-04-25 07:43:57
Hi all,
I've just updated the Boost Log Library:
http://torjo.com/code/logging-v132.zip
I would also like to ask for a _Formal Review_.
The Boost Log Library is a small library, who:
* makes it very easy to declare/define new logs
* allows you very simple access to logs
* allows for log hierarchies, and for modifying log hierarchies
* allows for easy and efficient enabling/disabling of logs/log hierarchies
* allows for easy manipulation of log behaviors
(the log's destination(s) and/or adjusting the original message)
* is thread-safe
Using the library in code is easy and straightforward:
int i = 1, j = 2, k = 3;
BOOST_LOG(app) << "testing " << i << '-' << j << '-' << k << std::endl;
BOOST_LOG(dbg) << "this is a debug message, i=" << i << std::endl;
BOOST_LOG(info) << "I just wanted to tell you something....";
Additions to v1.3.2
- can be compiled as a static/dynamic runtime
(works as a DLL as well)
- removed dependency on boost_thread
Note: I did not test this on Unix, but it should work.
If anybody can take a look at detail/ts_posix.hpp, I'd
appreciate it.
- solved other small issues, based on feedback
- slightly improved documentation
-- 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