Apache log4cxx  Version 0.12.1
log4cxx::helpers::LogLog Class Reference

This class used to output log statements from within the log4cxx package. More...

#include <loglog.h>

Static Public Member Functions

static void setInternalDebugging (bool enabled)
 Allows to enable/disable log4cxx internal logging. More...
 
static void debug (const LogString &msg)
 This method is used to output log4cxx internal debug statements. More...
 
static void debug (const LogString &msg, const std::exception &e)
 
static void error (const LogString &msg)
 This method is used to output log4cxx internal error statements. More...
 
static void error (const LogString &msg, const std::exception &e)
 
static void setQuietMode (bool quietMode)
 In quiet mode LogLog generates strictly no output, not even for errors. More...
 
static void warn (const LogString &msg)
 This method is used to output log4cxx internal warning statements. More...
 
static void warn (const LogString &msg, const std::exception &e)
 

Detailed Description

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 logging by calling the setInternalDebugging method.

All log4cxx internal debug calls go to standard output where as internal error messages are sent to standard error output. All internal messages are prepended with the string "log4cxx: ".

Member Function Documentation

◆ debug() [1/2]

static void log4cxx::helpers::LogLog::debug ( const LogString msg)
static

This method is used to output log4cxx internal debug statements.

Output goes to the standard output.

◆ debug() [2/2]

static void log4cxx::helpers::LogLog::debug ( const LogString msg,
const std::exception &  e 
)
static

◆ error() [1/2]

static void log4cxx::helpers::LogLog::error ( const LogString msg)
static

This method is used to output log4cxx internal error statements.

There is no way to disable error statements. Output goes to stderr.

◆ error() [2/2]

static void log4cxx::helpers::LogLog::error ( const LogString msg,
const std::exception &  e 
)
static

◆ setInternalDebugging()

static void log4cxx::helpers::LogLog::setInternalDebugging ( bool  enabled)
static

Allows to enable/disable log4cxx internal logging.

◆ setQuietMode()

static void log4cxx::helpers::LogLog::setQuietMode ( bool  quietMode)
static

In quiet mode LogLog generates strictly no output, not even for errors.

Parameters
quietModetrue for no output.

◆ warn() [1/2]

static void log4cxx::helpers::LogLog::warn ( const LogString msg)
static

This method is used to output log4cxx internal warning statements.

There is no way to disable warning statements. Output goes to stderr.

◆ warn() [2/2]

static void log4cxx::helpers::LogLog::warn ( const LogString msg,
const std::exception &  e 
)
static

The documentation for this class was generated from the following file: