boost::log::formatters::fmt_wrapper — Formatter wrapper to output objects into streams.
// In header: <boost/log/formatters/wrappers.hpp> template<typename CharT, typename T> class fmt_wrapper : public basic_formatter< CharT, fmt_wrapper< CharT, T > > { public: // types typedef base_type::ostream_type ostream_type; // Stream type. typedef base_type::record_type record_type; // Log record type. // construct/copy/destruct explicit fmt_wrapper(T const &); // public member functions void operator()(ostream_type &, record_type const &) const; };