boost::log::sources::severity_logger — Narrow-char logger. Functionally equivalent to basic_severity_logger
.
// In header: <boost/log/sources/severity_logger.hpp> template<typename LevelT = int> class severity_logger : public basic_composite_logger< char, severity_logger< LevelT >, single_thread_model, features< severity< LevelT > > > { public: // construct/copy/destruct severity_logger(); severity_logger(severity_logger const &); template<typename... ArgsT> explicit severity_logger(ArgsT...const &); explicit severity_logger(LevelT); severity_logger& operator=(severity_logger const &); };
See severity
class template for a more detailed description
severity_logger
public
construct/copy/destructseverity_logger();
Default constructor
severity_logger(severity_logger const & that);
Copy constructor
template<typename... ArgsT> explicit severity_logger(ArgsT...const & args);
Constructor with named arguments
explicit severity_logger(LevelT level);
The constructor creates the logger with the specified default severity level
Parameters: |
|
severity_logger& operator=(severity_logger const & that);
Assignment operator
Swaps two loggers