|
static void | AddAppender (LOG4CPP_NS::Category *aCategory, LOG4CPP_NS::Appender *aAppender) |
| Add/remove an appender to/from a category. More...
|
|
static void | ConfigureDefault () |
| Configures log4cpp to output messages >=ERROR on the Windows debug console. More...
|
|
static bool | ConfigureFromEnvironment (void) |
| Configures log4cpp from a file whose name is given by the environment variable GENICAM_LOG_CONFIG_VERSION. More...
|
|
static bool | ConfigureFromFile (const gcstring &FileName) |
| Configures log4cpp from a file. More...
|
|
static bool | ConfigureFromFile (const char FileName[]) |
|
static bool | ConfigureFromString (const gcstring &ConfigData) |
| Configures log4cpp from a string. More...
|
|
static bool | ConfigureFromString (const char ConfigData[]) |
|
static LOG4CPP_NS::Appender * | CreateFileAppender (const gcstring &aName, const gcstring &aPath, bool aAppend=false, const gcstring &aPattern="") |
| Creates a new file appender (used by some test modules) More...
|
|
static bool | Exists (const gcstring &LoggerName) |
| Checks if a category exists. More...
|
|
static bool | Exists (const char LoggerName[]) |
|
static LOG4CPP_NS::Category & | GetLogger (const gcstring &LoggerName) |
| Retrieves (and if necessary create) a category by name. More...
|
|
static LOG4CPP_NS::Category & | GetLogger (const char LoggerName[]) |
|
static LOG4CPP_NS::Category & | GetRootLogger (void) |
| Retrieves the root category. More...
|
|
static void | Initialize (void) |
| initializes log4cpp More...
|
|
static bool | IsDebugEnabled (LOG4CPP_NS::Category *aCategory) |
|
static bool | IsInfoEnabled (LOG4CPP_NS::Category *aCategory) |
| Check whether logging is possible and enabled for a specific category. More...
|
|
static bool | IsWarnEnabled (LOG4CPP_NS::Category *aCategory) |
|
static void | Log (LOG4CPP_NS::Category *aCategory, LOG4CPP_NS::Priority::Value aPriority, const char *aStringFormat,...) |
|
static void | LogPop (LOG4CPP_NS::Category *aCategory, LOG4CPP_NS::Priority::Value aPriority, const char *aStringFormat,...) |
|
static void | LogPush (LOG4CPP_NS::Category *aCategory, LOG4CPP_NS::Priority::Value aPriority, const char *aStringFormat,...) |
| Logging functions. More...
|
|
static void | LogVA (LOG4CPP_NS::Category *aCategory, LOG4CPP_NS::Priority::Value aPriority, const char *aStringFormat, va_list arg) |
|
static void | PopNDC (void) |
| Pop nested diagnostic context. More...
|
|
static void | PushNDC (const gcstring &ContextName) |
| Push nested diagnostic context. More...
|
|
static void | PushNDC (const char ContextName[]) |
|
static void | RemoveAllAppenders (void) |
| removes all appenders from all existing categories More...
|
|
static void | RemoveAppender (LOG4CPP_NS::Category *aCategory, LOG4CPP_NS::Appender *aAppender) |
|
static void | SetPriorityError (LOG4CPP_NS::Category *aCategory) |
|
static void | SetPriorityInfo (LOG4CPP_NS::Category *aCategory) |
| Set priority for a category. More...
|
|
static void | ShutDown (void) |
| de-initializes log4cpp More...
|
|
Helper class encapsulating log4cpp.
Definition at line 59 of file CLog.h.