boost::log::make_attr_ordering
// In header: <boost/log/utility/record_ordering.hpp> template<typename CharT, typename FunT> unspecified make_attr_ordering(std::basic_string< CharT > const & name, FunT const & fun);
The function constructs a log record ordering predicate