GenApi  3.5.1
Static Public Member Functions | List of all members

This logging class initializes the logger. By default that would be Log4cpp.

Static Public Member Functions

static bool Exist (const gcstring &LoggerName)
 
static ILogger & GetLogger (const gcstring &LoggerName)
 
static void ShutDown (void)
 de-initializes the logging framework
 

Member Function Documentation

◆ Exist()

static bool Exist ( const gcstring LoggerName)
static

Checks if a category/logger exists First checks the local logger map Finally checks via ILoggerFactory::Exist() in the ILoggerFactory implementation

◆ GetLogger()

static ILogger& GetLogger ( const gcstring LoggerName)
static

Retrieves (and if necessary create) a category by name Stores logger which have been requested before in a map