Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2005-08-18 08:53:32

> I must admit I haven't followed the discussion on log levels closely,
> but if you add this feature then wouldn't there be any difference
> between the log hierarchy and log levels?
> [...]
> What additional benefit do we get with the current implementation of
> log levels? Furthermore, if log levels can have string names and can
> have different appenders, I don't see the difference to what we're
> currently doing...

It seems that people want, in addition to several logs, the ability to
write to each log, given levels.

I don't fancy levels, but a lot of people requested them.

They do have a nice ring to it. Then, each module can have its own log,
and you can write all sorts of info to each log:

BOOST_LOGL(gui,dbg) << "debug message";
BOOST_LOGL(gui,err) << "error message";


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