Static helper class for doing application level logging. More...
Static Public Member Functions | |
static void | initialize (const Str &appLoggerName) |
Initializes app logging specifying an app logger name. More... | |
static void | logError (const Str &message, const CodeLocation &location) |
Adds an error (level 1) log entry to the logger. More... | |
static void | logWarning (const Str &message, const CodeLocation &location) |
Adds a warning (level 2) log entry to the logger. More... | |
static void | logInfo (const Str &message, const CodeLocation &location) |
Adds a info log (level 3) entry to the logger. More... | |
static void | logDebug (const Str &message, const CodeLocation &location) |
Adds a debug (level 4) log entry to the logger. More... | |
static void | setStandardLogLevels () |
Sets standard log levels for application. More... | |
static void | setNormalDebugLogLevels () |
Sets normal debug log levels for an application. More... | |
static void | setFullInfoLogLevels () |
Sets full debug log levels for an application. More... | |
static void | setFullDebugLogLevels () |
Sets full debug log levels for an application. More... | |
Static helper class for doing application level logging.
Typically used in conjunction with the CEE_LOG_APP_ERROR, CEE_LOG_APP_WARNING, CEE_LOG_APP_INFO and CEE_LOG_APP_DEBUG macros. The AppLogging class should be initialized using AppLogging::initialize() before it or any of the macros are be used.
|
static |
Initializes app logging specifying an app logger name.
|
static |
Adds a debug (level 4) log entry to the logger.
|
static |
Adds an error (level 1) log entry to the logger.
|
static |
Adds a info log (level 3) entry to the logger.
|
static |
Adds a warning (level 2) log entry to the logger.
|
static |
Sets full debug log levels for an application.
Sets all loggers, including all components and underlying modules, to log all message.
|
static |
Sets full debug log levels for an application.
Sets all loggers, including all components and underlying modules, to log all error, warning and info messages.
|
static |
Sets normal debug log levels for an application.
Sets all loggers to report errors and warnings, except for the application logger which will log all messages, including both info and debug messages.
|
static |
Sets standard log levels for application.
Sets all loggers to report errors and warnings, except for the application logger which also logs info messages. This is the default setting.