boost::log::formatters::throw_policy — Throwing exception policy.
// In header: <boost/log/formatters/exception_policies.hpp> struct throw_policy { // public static functions static void on_attribute_value_not_found(const char *, unsigned int); };
The policy will throw exceptions on formatting errors
throw_policy
static void on_attribute_value_not_found(const char * file, unsigned int line);