boost::log::add_scoped_thread_attribute
// In header: <boost/log/utility/scoped_attribute.hpp> template<typename CharT> unspecified add_scoped_thread_attribute(std::basic_string< CharT > const & name, shared_ptr< attribute > const & attr);
Registers a thread-specific attribute
attr
Pointer to the attribute. Must not be NULL.
name
Attribute name
An unspecified guard object that may be used to initialize scoped_attribute variable.
scoped_attribute