...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_TAG — The macro sets a scoped logger-wide tag in a more compact way.
// In header: <boost/log/attributes/scoped_attribute.hpp>
BOOST_LOG_SCOPED_LOGGER_TAG(logger, attr_name, attr_value)