Apache log4cxx (Incubating)  Version 0.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
LogLog Class Reference

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

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

static void debug ( const LogString msg)
static

This method is used to output log4cxx internal debug statements.

Output goes to the standard output.

static void debug ( const LogString msg,
const std::exception &  e 
)
static
static void 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.

static void error ( const LogString msg,
const std::exception &  e 
)
static
static void setInternalDebugging ( bool  enabled)
static

Allows to enable/disable log4cxx internal logging.

static void setQuietMode ( bool  quietMode)
static

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

Parameters
quietModetrue for no output.
static void 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.

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

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