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