Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2004-11-05 04:29:10


John Torjo wrote:

> Finally, have had some time to update the logging lib. Get it from:
> http://www.torjo.com/ (of course, it comes packed with docs)

Just a quick thought that came to my mind...

Did you consider using the syntax 'BOOST_LOG(dbg, "message" << foobar);'
instead of 'BOOST_LOG(dbg) << "message" << foobar;'?

While I think the syntax you use looks far nicer, we ususally need the
ability to be able to compile away the logging calls completely and this
only can be done with the first form.

Markus


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