boost::log::bind_to_log
// In header: <boost/log/utility/functional/bind_to_log.hpp> template<typename StreamT> binder1st< to_log_fun< >, StreamT & > bind_to_log(StreamT & strm);