BOOST_LOG_SCOPED_LOGGER_ATTR — The macro sets a scoped logger-wide attribute in a more compact way.
// In header: <boost/log/attributes/scoped_attribute.hpp> BOOST_LOG_SCOPED_LOGGER_ATTR(logger, attr_name, attr)