Boost logo

Boost :

From: John Torjo (john.groups_at_[hidden])
Date: 2008-03-05 12:58:42


> void logging::restoreLogIndention()
> {
> std::ostringstream str;
> str << "indentation" << logIndentLevel;
> --logIndentLevel;
> ASSERT(logIndentLevel>=0);
> using namespace boost::logging;
> // the modifier will be changed soon, sync!
> flush_log_cache();
> del_modifier("*", str.str());
> }
>
> Both addLogIndention() and restoreLogIndention() are also called in the
> constructor/destructor of a helper class to ensure a proper reset.
>
Yes indeed :) Just wanted to point out that it'll be in v3 - simple again :)

Best,
John

-- 
http://John.Torjo.com -- C++ expert
http://blog.torjo.com
... call me only if you want things done right

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