cee::AppLogging
-
class
AppLogging
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.
Public Static Functions
-
static void
initialize
(const Str &appLoggerName) Initializes app logging specifying an app logger name.
-
static void
logError
(const Str &message, const CodeLocation &location) Adds an error (level 1) log entry to the logger.
-
static void
logWarning
(const Str &message, const CodeLocation &location) Adds a warning (level 2) log entry to the logger.
-
static void
logInfo
(const Str &message, const CodeLocation &location) Adds an info log (level 3) entry to the logger.
-
static void
logDebug
(const Str &message, const CodeLocation &location) Adds a debug (level 4) log entry to the logger.
-
static void
setStandardLogLevels
() 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.
-
static void
setNormalDebugLogLevels
() 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 void
setFullInfoLogLevels
() 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 void
setFullDebugLogLevels
() Sets full debug log levels for an application.
Sets all loggers, including all components and underlying modules, to log all message.
-
static void