Boost logo

Boost :

Subject: Re: [boost] [log] Review-ready version in the Vault
From: Alp Mestan (alp.boost-dev_at_[hidden])
Date: 2009-02-12 02:12:10


Wouldn't it be better to do scoped logging ?
It would prevent from mixing data when doing some MT programs, it would
solve the "open_record()" problem, etc.
But in this case their would be a scoped_mutex on our log writing function.
And then, the destructor would log everything, so that we would be able to
put many informations on the log stream and then log them all.

-- 
Alp Mestan
In charge of the C++ section on Developpez.com.

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