boost::log::trivial::to_string — Returns stringified enumeration value or NULL, if the value is not valid.
NULL
// In header: <boost/log/trivial.hpp> const char * to_string(severity_level lvl);