boost::log::add_scoped_thread_attribute
// In header: <boost/log/attributes/scoped_attribute.hpp> unspecified add_scoped_thread_attribute(attribute_name const & name, attribute const & attr);
Registers a thread-specific attribute
Parameters:
attr
The attribute. Must not be NULL.
name
Attribute name
Returns:
An unspecified guard object which may be used to initialize a scoped_attribute variable.
scoped_attribute