Re: [boost] basic_debugstream (was: streams - basic_nullbuf)
by Jeff Garland other posts by this author
Sep 25 2003 12:08PM messages near this date
[boost] basic_debugstream (was: streams - basic_nullbuf)
|
Re: [boost] basic_debugstream
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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
=?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
John Torjo
=?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
Gennadiy Rozental
=?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
Jeff Garland
=?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
Jeff Garland
=?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
Jeff Garland
Jeff Garland
Samuel Krempp
=?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
=?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
val salamakha
Ulrich Eckhardt
val salamakha
|