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 template operator<<

boost::log::trivial::operator<< — Outputs stringized representation of the severity level to the stream.


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

template<typename CharT, typename TraitsT> 
  std::basic_ostream< CharT, TraitsT > & 
  operator<<(std::basic_ostream< CharT, TraitsT > & strm, severity_level lvl);