![]() |
Andrey Semashev
24.06.2007
The header contains implementation of named scope container and an attribute that allows to put the named scope to log. A number of convenience macros are also provided.
BOOST_LOG_NAMED_SCOPE(name) BOOST_LOG_FUNCTION() BOOST_LOG_WNAMED_SCOPE(name) BOOST_LOG_WFUNCTION()
namespace boost { namespace log { namespace attributes { template<typename CharT> struct basic_named_scope_entry; template<typename CharT> class basic_named_scope_list; template<typename CharT> class basic_named_scope; typedef basic_named_scope_list< char > named_scope_list; // Convenience typedef for narrow-character logging. typedef basic_named_scope< char > named_scope; // Convenience typedef for narrow-character logging. typedef basic_named_scope_list< wchar_t > wnamed_scope_list; // Convenience typedef for wide-character logging. typedef basic_named_scope< wchar_t > wnamed_scope; // Convenience typedef for wide-character logging. template<typename CharT, typename TraitsT> std::basic_ostream< CharT, TraitsT > & operator<<(std::basic_ostream< CharT, TraitsT > &, basic_named_scope_list< CharT > const &); } } }