boost::log::attribute_cast
// In header: <boost/log/attributes/attribute_cast.hpp> template<typename T> T attribute_cast(attribute const & attr);
The function casts one attribute factory to another