|
Boost : |
From: Ernie Makris (ernie_makris_at_[hidden])
Date: 2002-04-09 10:00:42
>From: Markus Schöpflin <markus.schoepflin_at_[hidden]>
>Reply-To: boost_at_[hidden]
>To: boost_at_[hidden]
>Subject: Re: [boost] Proposal: Logging library
>Date: Tue, 09 Apr 2002 16:43:51 +0200
>
>Ernie Makris wrote:
>
>[snip]
>
> > I agree, the format library is definitely a step above ordinary printf
> > style format strings. But, using a formatter would not be a hard and
>fast
> > rule. I think it should be allowed to just say:
> > logger << "foo: " << foo << "bar: " << bar << "baz: " << baz;
> > OR
> > logger << log_format("foo: %1 bar: %2 baz: %3") % foo % bar % baz;
> >
>
>Thats exactly what I was trying to say. :-) Of course log_format() would
>have support for timestamps, thread and process ids, errno,
>GetLastError()(?)
>and so on.
Ahh, I apologize, I read the message too hastily:)
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk