Add support for Boost::log v2.