20 Aug
2013
20 Aug
'13
11:55 a.m.
Is there any method of retrieve the current severity level from a "boost::log::sources::severity_logger_mtboost::log::trivial::severity_level" logger. I would like to store the current severity level in a temporary variable, upgrade it to a new level using "BOOST_LOG_SEV(logger::get(), boost::log::trivial::trace)" to write a trace-type message, and then downgrade the logger back to the previous setting by recalling "BOOST_LOG_SEV(logger::get(), temporaryVariable)" -- View this message in context: http://boost.2283326.n4.nabble.com/log-Retrieving-the-current-trivial-severi... Sent from the Boost - Users mailing list archive at Nabble.com.