boost::log::current_scope
// In header: <boost/log/support/exception.hpp> template<typename CharT> error_info< current_scope_info_tag, attributes::basic_named_scope_list< CharT >> current_scope();
The function returns an error information object that contains current stack of scopes. This information can then be attached to an exception and extracted at the catch site. The extracted scope list won't be affected by any scope changes that may happen during the exception propagation.
Note | |
---|---|
See the |