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

Severity level support feature. More...

#include <severity_feature.hpp>

Classes

struct  apply
 

Detailed Description

template<typename LevelT = int>
struct boost::sources::severity< LevelT >

Severity level support feature.

The logger with this feature registers a special attribute with an integral value type on construction. This attribute will provide severity level for each log record being made through the logger. The severity level can be omitted on logging record construction, in which case the default level will be used. The default level can also be customized by passing it to the logger constructor.

The type of the severity level attribute can be specified as a template parameter for the feature template. By default, int will be used.


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