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(std::basic_string< CharT > const & name, FunT const & fun);