DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
dcmtk::log4cplus::helpers::LogLog Class Reference

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

+ Inheritance diagram for dcmtk::log4cplus::helpers::LogLog:

List of all members.

Public Member Functions

void setInternalDebugging (bool enabled)
 Allows to enable/disable log4cplus internal logging.
void setQuietMode (bool quietMode)
 In quite mode no LogLog generates strictly no output, not even for errors.
void debug (const tstring &msg)
 This method is used to output log4cplus internal debug statements.
void error (const tstring &msg)
 This method is used to output log4cplus internal error statements.
void warn (const tstring &msg)
 This method is used to output log4cplus internal warning statements.

Static Public Member Functions

static
helpers::SharedObjectPtr
< LogLog
getLogLog ()
 Returns a reference to the LogLog singleton.

Public Attributes

DCMTK_LOG4CPLUS_MUTEX_PTR_DECLARE mutex

Private Member Functions

 LogLog (const LogLog &)

Private Attributes

bool debugEnabled
bool quietMode

Detailed Description

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

Log4cplus components cannot make log4cplus logging calls. However, it is sometimes useful for the user to learn about what log4cplus is doing. You can enable log4cplus internal logging by defining the log4cplus.configDebug variable.

All log4cplus internal debug calls go to cout where as internal error messages are sent to cerr. All internal messages are prepended with the string "log4clus: ".


Member Function Documentation

This method is used to output log4cplus internal debug statements.

Output goes to STD_NAMESPACE cout.

This method is used to output log4cplus internal error statements.

There is no way to disable error statements. Output goes to STD_NAMESPACE cerr.

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

Parameters:
quietModeA true for not

This method is used to output log4cplus internal warning statements.

There is no way to disable warning statements. Output goes to STD_NAMESPACE cerr.


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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027