|
Boost : |
From: Paul A. Bristow (boost_at_[hidden])
Date: 2004-01-09 07:30:38
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]]On Behalf Of Dimitry Kloper
| Sent: Thursday, January 08, 2004 12:27 AM
| To: boost_at_[hidden]
| Subject: [boost] Re: request for review. c++ tracing/logging library
-----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]]On Behalf Of Ivan Dubrov
| Sent: Thursday, January 08, 2004 3:31 PM
| To: boost_at_[hidden]
| Subject: [boost] Simple logging over iostream's
|
Thanks - I'll try to look at this, but meanwhile I have looked at Ivan Dubrov's
lightweight suggestion - which seems to work quite nicely with MSVC 7.1 (though
it might be more convincing if demonstrated to a log file).
Your slightly special requirements for formatting (80 col layout etc) might be
conveniently met by combining this with some of the filtered streambuf
techniques which have been discussed recently.
There have been many offerings at logging. My collection of references includes
also:
A C++ class for logging, Windows developer, Feb 2000 by Joey Rogers, p 38
Error logging with Iostreams by Brad Offer, CUJ April 2000, p 52.
Lars Langseth also published a suggestion to comp.lang.c++.moderated Sep 23
1998.
I would also like to see include date and time stamping - using Jeff Garland
Boost timedate library so that one can log dates in a locale specific way.
And being able to avoid filling massive log files with repeated messages is a
very valuable feature.
IMO, there certainly remains a need for a Boost library logging system.
Paul
Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK
+44 1539 561830 Mobile +44 7714 33 02 04
mailto:pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk