boost::log::parse_formatter
// In header: <boost/log/utility/setup/formatter_parser.hpp> template<typename CharT, typename TraitsT, typename AllocatorT> basic_formatter< CharT > parse_formatter(std::basic_string< CharT, TraitsT, AllocatorT > const & str);