Boost C++ Libraries

PrevUpHomeNext

Class template wseverity_channel_logger_mt

boost::log::sources::wseverity_channel_logger_mt — Wide-char thread-safe logger. Functionally equivalent to basic_severity_logger and basic_channel_logger.

Synopsis

// In header: <boost/log/sources/severity_channel_logger.hpp>

template<typename LevelT = int, typename ChannelT = std::wstring> 
class wseverity_channel_logger_mt : public basic_composite_logger< wchar_t, wseverity_channel_logger_mt< LevelT, ChannelT >, multi_thread_model< implementation_defined >, features< severity< LevelT >, channel< ChannelT > > >
{
public:
  // construct/copy/destruct
  wseverity_channel_logger_mt();
  wseverity_channel_logger_mt(wseverity_channel_logger_mt const &);
  template<typename... ArgsT> 
    explicit wseverity_channel_logger_mt(ArgsT...const &);
  wseverity_channel_logger_mt& operator=(wseverity_channel_logger_mt const &);
};

Description

See severity and channel class templates for a more detailed description

wseverity_channel_logger_mt public construct/copy/destruct

  1. wseverity_channel_logger_mt();

    Default constructor

  2. wseverity_channel_logger_mt(wseverity_channel_logger_mt const & that);

    Copy constructor

  3. template<typename... ArgsT> 
      explicit wseverity_channel_logger_mt(ArgsT...const & args);

    Constructor with named arguments

  4. wseverity_channel_logger_mt& 
    operator=(wseverity_channel_logger_mt const & that);

    Assignment operator

    Swaps two loggers


PrevUpHomeNext