|
Boost : |
From: Terence Wilson (tez_at_[hidden])
Date: 2002-04-08 21:51:00
I second that emotion. In fact, I just spent 3 weeks putting together
something with everything you ask for except thread awareness. Logging
classes seem to be a candidate for the most reinvented wheel- they seem
to pop up every six months or so in the magazines.
> -----Original Message-----
> From: boost-admin_at_[hidden]
> [mailto:boost-admin_at_[hidden]] On Behalf Of Ernie Makris
> Sent: Monday, April 08, 2002 6:48 PM
> To: boost_at_[hidden]
> Subject: [boost] Proposal: Logging library
>
>
> Hello Fellow Boosters,
>
> I'd like to propose the design and development of a logging
> library to be included in boost.
>
> I've been thinking about what boost lacks, and this is one
> area of utility that I think would benefit the boost community.
>
> There are a great many examples of logging examples. Some
> designs I have been thinking about are:
> - based on iostreams coupled with the work being done with the format
> library
> by Samuel Krempp.
> It would look like the following:
> log << log_debug << log_format("%e %1") % "config file not found";
>
> where there would be a log formatter that would have extra format
> specifiers.
> For example, the %e above could print the errno for a failed file
> operation.
>
> The log stream would support levels, and a default level. etc...
> Everything
> you would expect from a capable logger.
>
> - Something similar to log4j. There is already a log4cpp,
> which is a port
> of log4j to C++.
>
> Some basic requirements:
> - Some basic sink types (file, console, ring buffer...)
> - Ability to log based on levels
> - Ability to turn logging on/off dynamically
> - Focus should be on good performance, and usability of the
> API. Make it
> easy to setup and use logs.
> - Useful, built in format specifiers.
> - As fast a possible.
> - Parameterizeable thread safety. Don't penalize programs
> that do not need
> thread
> safe logs.
>
> Is there any interest in such a library.
>
> Thanks
> Ernie
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/bo> ost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk