cLog Class Reference¶
|
API
|
Static Public Member Functions | |
| static const char * | getLogLevelName (LogLevel logLevel) |
| static LogLevel | resolveLogLevel (const char *name) |
Static Public Attributes | |
| static LogLevel | logLevel |
| static NoncomponentLogPredicate | noncomponentLogPredicate |
| static ComponentLogPredicate | componentLogPredicate |
Description
This class groups logging related functionality.
- See also
- LogLevel
Member Function Documentation
◆ getLogLevelName()
|
static |
Returns a human-readable string representing the provided log level.
References logLevel.
◆ resolveLogLevel()
|
static |
Returns the associated log level for the provided human-readable string.
References logLevel, and noncomponentLogPredicate.
Member Data Documentation
◆ logLevel
|
static |
This log level specifies a globally applied runtime modifiable filter. This is the fastest runtime filter, it works with a simple integer comparison at the call site.
Referenced by getLogLevelName(), and resolveLogLevel().
◆ noncomponentLogPredicate
|
static |
This predicate determines if a log statement is executed for log statements that occur outside module or channel member functions. This is a customization point for logging.
Referenced by resolveLogLevel().
◆ componentLogPredicate
|
static |
This predicate determines if a log statement is executed for log statements that occur in module or channel member functions. This is a customization point for logging.
Generated on for API by