Boost logo

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:

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
-- -v1.6.3 (Resource Splitter)
-- - Click, Build, Run!

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