Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Function to_string

boost::log::trivial::to_string — Returns stringized enumeration value or NULL, if the value is not valid.


// In header: <boost/log/trivial.hpp>

const char * to_string(severity_level lvl);