...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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)