This class used to output log statements from within the log4cxx package.
More...
#include <loglog.h>
This class used to output log statements from within the log4cxx package.
Log4cxx components cannot make log4cxx logging calls. However, it is sometimes useful for the user to learn about what log4cxx is doing. You can enable log4cxx internal debug logging by calling the setInternalDebugging method.
All LogLog messages are written to SystemErrWriter prepended with the string "log4cxx: ".
◆ ~LogLog()
log4cxx::helpers::LogLog::~LogLog |
( |
| ) |
|
◆ debug() [1/2]
void log4cxx::helpers::LogLog::debug |
( |
const LogString & | msg | ) |
|
|
static |
◆ debug() [2/2]
void log4cxx::helpers::LogLog::debug |
( |
const LogString & | msg, |
|
|
const std::exception & | e ) |
|
static |
Output msg
and ex.what()
to SystemErrWriter if internal debug logging is enabled.
◆ error() [1/2]
void log4cxx::helpers::LogLog::error |
( |
const LogString & | msg | ) |
|
|
static |
◆ error() [2/2]
void log4cxx::helpers::LogLog::error |
( |
const LogString & | msg, |
|
|
const std::exception & | ex ) |
|
static |
◆ isColorEnabled()
bool log4cxx::helpers::LogLog::isColorEnabled |
( |
| ) |
|
|
static |
Are messages output in color?
◆ isDebugEnabled()
bool log4cxx::helpers::LogLog::isDebugEnabled |
( |
| ) |
|
|
static |
◆ setColorEnabled()
void log4cxx::helpers::LogLog::setColorEnabled |
( |
bool | newValue | ) |
|
|
static |
Start/stop coloring message text if newValue
is true/false respectively.
◆ setInternalDebugging()
void log4cxx::helpers::LogLog::setInternalDebugging |
( |
bool | newValue | ) |
|
|
static |
◆ setQuietMode()
void log4cxx::helpers::LogLog::setQuietMode |
( |
bool | newValue | ) |
|
|
static |
Change quiet mode to newValue
.
In quiet mode LogLog generates strictly no output, not even for errors.
- Parameters
-
newValue | true for no output. |
◆ warn() [1/2]
void log4cxx::helpers::LogLog::warn |
( |
const LogString & | msg | ) |
|
|
static |
◆ warn() [2/2]
void log4cxx::helpers::LogLog::warn |
( |
const LogString & | msg, |
|
|
const std::exception & | ex ) |
|
static |
The documentation for this class was generated from the following file: