Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sources::channel< ChannelT > Struct Template Reference

Channel support feature. More...

#include <channel_feature.hpp>

Classes

struct  apply
 

Detailed Description

template<typename ChannelT = std::string>
struct boost::sources::channel< ChannelT >

Channel support feature.

The logger with this feature automatically registers an attribute with the specified on construction value, which is a channel name. The channel name can be modified through the logger life time, either by calling the channel method or by specifying the name in the logging statement.

The type of the channel name can be customized by providing it as a template parameter to the feature template. By default, a string will be used.


The documentation for this struct was generated from the following file: