Classes | |
struct | logger |
Trivial logger tag. More... | |
Typedefs | |
typedef sources::severity_logger_mt < severity_level > | logger_type |
Trivial logger type. More... | |
Enumerations | |
enum | severity_level { trace, debug, info, warning, error, fatal } |
Trivial severity levels. More... | |
Functions | |
BOOST_LOG_API const char * | to_string (severity_level lvl) |
Returns stringized enumeration value or NULL , if the value is not valid. More... | |
template<typename CharT , typename TraitsT > | |
std::basic_ostream< CharT, TraitsT > & | operator<< (std::basic_ostream< CharT, TraitsT > &strm, severity_level lvl) |
Outputs stringized representation of the severity level to the stream. More... | |
template<typename CharT , typename TraitsT > | |
BOOST_LOG_API std::basic_istream< CharT, TraitsT > & | operator>> (std::basic_istream< CharT, TraitsT > &strm, severity_level &lvl) |
Reads stringized representation of the severity level from the stream. More... | |
typedef sources::severity_logger_mt< severity_level > boost::trivial::logger_type |
Trivial logger type.
|
inline |
Outputs stringized representation of the severity level to the stream.
References boost::str(), and to_string().
BOOST_LOG_API std::basic_istream< CharT, TraitsT >& boost::trivial::operator>> | ( | std::basic_istream< CharT, TraitsT > & | strm, |
severity_level & | lvl | ||
) |
Reads stringized representation of the severity level from the stream.
BOOST_LOG_API const char* boost::trivial::to_string | ( | severity_level | lvl | ) |
Returns stringized enumeration value or NULL
, if the value is not valid.
Referenced by operator<<().