Severity level support feature. More...
#include <severity_feature.hpp>
Classes | |
struct | apply |
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.