boost::log::sources::severity_channel_logger — Narrow-char logger. Functionally equivalent to basic_severity_logger
and basic_channel_logger
.
// In header: <boost/log/sources/severity_channel_logger.hpp> template<typename LevelT = int, typename ChannelT = std::string> class severity_channel_logger : public basic_composite_logger< char, severity_channel_logger< LevelT, ChannelT >, single_thread_model, features< severity< LevelT >, channel< ChannelT > > > { public: // construct/copy/destruct severity_channel_logger(); severity_channel_logger(severity_channel_logger const &); template<typename... ArgsT> explicit severity_channel_logger(ArgsT...const &); severity_channel_logger& operator=(severity_channel_logger const &); };
See severity
and channel
class templates for a more detailed description
severity_channel_logger
public
construct/copy/destructseverity_channel_logger();
Default constructor
severity_channel_logger(severity_channel_logger const & that);
Copy constructor
template<typename... ArgsT> explicit severity_channel_logger(ArgsT...const & args);
Constructor with named arguments
severity_channel_logger& operator=(severity_channel_logger const & that);
Assignment operator
Swaps two loggers