BOOST_LOG_SCOPED_THREAD_TAG — The macro sets a scoped thread-wide tag in a more compact way.
// In header: <boost/log/attributes/scoped_attribute.hpp> BOOST_LOG_SCOPED_THREAD_TAG(attr_name, attr_value)