...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::sources::wseverity_logger_mt — Wide-char thread-safe logger. Functionally equivalent to basic_severity_logger
.
// In header: <boost/log/sources/severity_logger.hpp> template<typename LevelT = int> class wseverity_logger_mt : public basic_composite_logger< wchar_t, wseverity_logger_mt< LevelT >, multi_thread_model< implementation_defined >, features< severity< LevelT > > > { public: // construct/copy/destruct wseverity_logger_mt(); wseverity_logger_mt(wseverity_logger_mt const &); template<typename... ArgsT> explicit wseverity_logger_mt(ArgsT... const &); explicit wseverity_logger_mt(LevelT); wseverity_logger_mt & operator=(wseverity_logger_mt const &); };
See severity
class template for a more detailed description
wseverity_logger_mt
public
construct/copy/destructwseverity_logger_mt();
Default constructor
wseverity_logger_mt(wseverity_logger_mt const & that);
Copy constructor
template<typename... ArgsT> explicit wseverity_logger_mt(ArgsT... const & args);
Constructor with named arguments
explicit wseverity_logger_mt(LevelT level);
The constructor creates the logger with the specified default severity level
Parameters: |
|
wseverity_logger_mt & operator=(wseverity_logger_mt const & that);
Assignment operator
Swaps two loggers