$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-04-09 09:43:51
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.
Markus