Boost logo

Boost :

From: Brian Braatz (brianb_at_[hidden])
Date: 2005-05-04 11:35:56


> On Behalf Of Darryl Green
> Hi John,
>
> John Torjo <john.lists <at> torjo.com> writes:
>
> >
> > I've seen that some of you have requested "levels", and yes, I
should
> > add them. I hope I'll have time to implement them soon (less than a
> month).
> >
However,
> it probably isn't general or clean enough an interface, and this could
> be addressed by providing a concept something like the following, to
> replace the (not customisable at present) logger_impl.
>
> struct sink
> {
> void write(const log_types::stream &s);
> bool enabled(log_types::level l);
> };
>
> The rest of the interface (actual type) is log_manager defined.
> A sink with the current semantics + level support implemented by
extending
> the enabled flag to be a level (something you previously talked me out
of,
> but
[Brian Braatz Writes:]
This thread is making me contemplate,

Why not make this logging library a well designed bolt on to IOSTREAMS?

I LOVE IOSTREAMS, and it seems like if the logging library is (DESIGNED
TO BE) an add on to that I get the best of both worlds.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk