From: John Torjo (john.lists_at_[hidden])
Date: 2004-07-01 00:05:36
Stefan Seefeld wrote:
> John Torjo wrote:
>> Dear boosters,
>> Worked some more on the logging library, and here's what's new:
>> - added ***documentation***
>> - added samples
>> - made static library (improved compilation times)
>> - added efficient thread-safe logger, which does the logging on a
>> dedicated thread
> why do you route the log to a different thread instead of writing
> it directly ? On the one hand you provide macros to be able to
> optimize the logger code away if it is not desired, on the other hand
> you accept a full context switch (and mutex lock and...) for each single
> message !
p.s. the 'logger' is the equivalent of log4j's Appender concept.
-- John Torjo Freelancer -- john_at_[hidden] -- http://www.torjo.com/logview/ - viewing/filtering logs is just too easy!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk