Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2003-09-25 07:08:11


On Thu, 25 Sep 2003 13:44:49 +0200, Lars Gullik Bjønnes wrote
> | I would also like to see this formalized into boost. Previously I
> have | written an null stream class to simplify the writing of
> tracing code by just | putting trace statements in the code. During
> debugging you pop in a regular | stream and get output. When you
> are done you put in the null stream and like | magic all the output
> disappears. If you have a logging policy on components | then you
> can switch in null stream when you want to suppress tracing.
>
> On that tangent would a class like this be interesting?

Absolutely. There is clearly a need for a tracing / debugging library. Every
project I've ever participated in reinvents some sort of library for tracing /
logging.

>We have used this with some success during the years in LyX. Not
>for tracing though.

For what then, logging? Is there a difference?

Jeff


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