Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
severity_channel_logger.hpp File Reference
#include <string>
#include <boost/log/detail/config.hpp>
#include <boost/log/detail/light_rw_mutex.hpp>
#include <boost/log/sources/features.hpp>
#include <boost/log/sources/basic_logger.hpp>
#include <boost/log/sources/threading_models.hpp>
#include <boost/log/sources/severity_feature.hpp>
#include <boost/log/sources/channel_feature.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for severity_channel_logger.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::sources
 

Macros

#define BOOST_LOG_STREAM_CHANNEL_SEV(logger, chan, lvl)   BOOST_LOG_STREAM_WITH_PARAMS((logger), (::boost::log::keywords::channel = (chan))(::boost::log::keywords::severity = (lvl)))
 The macro allows to put a record with a specific channel name into log. More...
 
#define BOOST_LOG_CHANNEL_SEV(logger, chan, lvl)   BOOST_LOG_STREAM_CHANNEL_SEV(logger, chan, lvl)
 An equivalent to BOOST_LOG_STREAM_CHANNEL_SEV(logger, chan, lvl) More...
 

Detailed Description

Author
Andrey Semashev
Date
28.02.2008

The header contains implementation of a logger with severity level and channel support.

Macro Definition Documentation

#define BOOST_LOG_CHANNEL_SEV (   logger,
  chan,
  lvl 
)    BOOST_LOG_STREAM_CHANNEL_SEV(logger, chan, lvl)
#define BOOST_LOG_STREAM_CHANNEL_SEV (   logger,
  chan,
  lvl 
)    BOOST_LOG_STREAM_WITH_PARAMS((logger), (::boost::log::keywords::channel = (chan))(::boost::log::keywords::severity = (lvl)))

The macro allows to put a record with a specific channel name into log.