Class Log¶
Defined in File Log.h
Class Documentation¶
-
class
Log
This static class includes a variety of methods for interacting with the the logging module. These methods are not meant for direct use. Rather, they are used by the LOG* macros and the SWIG interface declared in logInterface.h.
Public Functions
-
Log
()¶
-
bool
isDebugEnabled
() const¶ Check whether the logger is enabled for the DEBUG Level
-
bool
isErrorEnabled
() const¶ Check whether the logger is enabled for the ERROR Level
-
bool
isFatalEnabled
() const¶ Check whether the logger is enabled for the FATAL Level
-
bool
isInfoEnabled
() const¶ Check whether the logger is enabled for the INFO Level
-
bool
isTraceEnabled
() const¶ Check whether the logger is enabled for the TRACE Level
-
bool
isWarnEnabled
() const¶ Check whether the logger is enabled for the WARN Level
-
void
setLevel
(int level)¶
-
int
getLevel
() const¶
-
bool
isEnabledFor
(int level) const¶
-
void
log
(log4cxx::LevelPtr level, log4cxx::spi::LocationInfo const &location, char const *fmt, ...)¶
Public Static Functions
-
static void
configure
()¶
-