This logging class initializes the logger. More...
#include <CLog.h>
Static Public Member Functions | |
static bool | Exist (const gcstring &LoggerName) |
Checks if a category/logger exists First checks the local logger map Finally checks via ILoggerFactory::Exist() in the ILoggerFactory implementation. More... | |
static bool | Exist (const char *LoggerName) |
static ILogger & | GetLogger (const gcstring &LoggerName) |
Retrieves (and if necessary create) a category by name Stores logger which have been requested before in a map. More... | |
static ILogger & | GetLogger (const char *LoggerName) |
static ILoggerFactory * | GetLoggerFactory () |
static void | OmitLogger () |
static void | PopIndent () |
static void | PushIndent () |
static void | SetLoggerFactory (ILoggerFactory &) |
static void | ShutDown (void) |
de-initializes the logging framework More... | |
Private Types | |
typedef void * | lib_handle_t |
A type corresponds to a library handle which can be platform specific. More... | |
Static Private Member Functions | |
static void | DefaultInitializer () |
static void | DeleteLoggerMap () |
static bool | ExistInMap (gcstring loggerName) |
static void * | FindSymbol (lib_handle_t Handle, const gcstring Name) |
Finds a symbol and return its pointer. More... | |
static void | MakeSureLoggerHasBeenFound () |
Makes sure log4cpp has been found. More... | |
static lib_handle_t | OpenLibrary (const gcstring Name) |
Opens a library. More... | |
Static Private Attributes | |
static lib_handle_t | g_pLibHandle |
A handle to an associated logger library. More... | |
static ILoggerFactory * | m_LogFactory |
static bool | m_LoggerHasBeenFound |
static bool | m_OmitLogger |
This logging class initializes the logger.
By default that would be Log4cpp
|
private |
|
staticprivate |
|
staticprivate |
|
static |
Checks if a category/logger exists First checks the local logger map Finally checks via ILoggerFactory::Exist() in the ILoggerFactory implementation.
|
static |
|
staticprivate |
|
staticprivate |
Finds a symbol and return its pointer.
Retrieves (and if necessary create) a category by name Stores logger which have been requested before in a map.
|
static |
|
static |
|
staticprivate |
Makes sure log4cpp has been found.
|
static |
|
staticprivate |
Opens a library.
|
static |
|
static |
|
static |
|
static |
de-initializes the logging framework
|
staticprivate |
|
staticprivate |
|
staticprivate |