OMNeT++ Simulation Library  6.0.3
cLog Class Reference

#include <clog.h>

Description

This class groups logging related functionality.

See also
LogLevel

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
 

Member Function Documentation

◆ getLogLevelName()

static const char* getLogLevelName ( LogLevel  logLevel)
static

Returns a human-readable string representing the provided log level.

◆ resolveLogLevel()

static LogLevel resolveLogLevel ( const char *  name)
static

Returns the associated log level for the provided human-readable string.

Member Data Documentation

◆ logLevel

LogLevel 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.

◆ noncomponentLogPredicate

NoncomponentLogPredicate 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.

◆ componentLogPredicate

ComponentLogPredicate 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.


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