|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2005-05-04 03:55:26
Daniel Frey wrote:
> John Torjo wrote:
>
>> I've just updated the Boost Log Library:
>> http://torjo.com/code/logging-v132.zip
>
>
> It's good to see progress on logging and what I've seen so far looks
> promising. However...
>
>> BOOST_LOG(app) << "testing " << i << '-' << j << '-' << k << std::endl;
>> BOOST_LOG(dbg) << "this is a debug message, i=" << i << std::endl;
>> BOOST_LOG(info) << "I just wanted to tell you something....";
>
>
> ...while I like the feeling of the stream approach from a user's
> perspective, there is one (IMHO important) feature that can not be
> implemented with it: Exception guards.
>
When there's a will, there's a way ;)
You do raise a very valid point -- about exceptions. I will add
exception guards.
Best,
John
-- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -v1.6.3 (Resource Splitter) -- http://www.torjo.com/cb/ - Click, Build, Run!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk