|
Apache Log4cxx
Version 1.8.0
|
This class used to output log statements from within the log4cxx package. More...
#include <loglog.h>
Public Member Functions | |
| ~LogLog () | |
Static Public Member Functions | |
| static bool | isDebugEnabled () |
| Are debug messages sent to SystemErrWriter? More... | |
| static bool | isDebugEnabledFor (const LoggerPtr &category) |
Are category debug messages sent to SystemErrWriter? More... | |
| static bool | isTraceEnabledFor (const LoggerPtr &category) |
Are category trace messages sent to SystemErrWriter? More... | |
| static void | setInternalDebugging (bool newValue) |
Start/stop outputing debug messages if newValue is true/false respectively. More... | |
| static bool | isColorEnabled () |
| Are messages output in color? More... | |
| static void | setColorEnabled (bool newValue) |
Start/stop coloring message text if newValue is true/false respectively. More... | |
| static void | debug (const LogString &msg) |
Output msg to SystemErrWriter if internal debug logging is enabled. More... | |
| static void | debug (const LogString &msg, const std::exception &e) |
Output msg and ex.what() to SystemErrWriter if internal debug logging is enabled. More... | |
| static void | error (const LogString &msg) |
Output msg to SystemErrWriter unconditionally. More... | |
| static void | error (const LogString &msg, const std::exception &ex) |
Output msg and ex.what() to SystemErrWriter unconditionally. More... | |
| static void | trace (const LoggerPtr &category, const LogString &msg) |
Output msg to SystemErrWriter if internal debug logging is enabled. More... | |
| static void | trace (const LoggerPtr &category, const std::string &msg) |
Output msg to SystemErrWriter if internal debug logging is enabled. More... | |
| static void | setQuietMode (bool newValue) |
Change quiet mode to newValue. More... | |
| static void | warn (const LogString &msg) |
Output msg to SystemErrWriter unconditionally. More... | |
| static void | warn (const LogString &msg, const std::exception &ex) |
Output msg and ex.what() to SystemErrWriter unconditionally. More... | |
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: ".
| log4cxx::helpers::LogLog::~LogLog | ( | ) |
|
static |
Output msg to SystemErrWriter if internal debug logging is enabled.
|
static |
Output msg and ex.what() to SystemErrWriter if internal debug logging is enabled.
|
static |
Output msg to SystemErrWriter unconditionally.
|
static |
Output msg and ex.what() to SystemErrWriter unconditionally.
|
static |
Are messages output in color?
|
static |
Are debug messages sent to SystemErrWriter?
|
static |
Are category debug messages sent to SystemErrWriter?
|
static |
Are category trace messages sent to SystemErrWriter?
|
static |
Start/stop coloring message text if newValue is true/false respectively.
|
static |
Start/stop outputing debug messages if newValue is true/false respectively.
|
static |
Change quiet mode to newValue.
In quiet mode LogLog generates strictly no output, not even for errors.
| newValue | true for no output. |
|
static |
Output msg to SystemErrWriter if internal debug logging is enabled.
|
static |
Output msg to SystemErrWriter if internal debug logging is enabled.
|
static |
Output msg to SystemErrWriter unconditionally.
|
static |
Output msg and ex.what() to SystemErrWriter unconditionally.