DCMTK
Version 3.6.6
OFFIS DICOM Toolkit
|
Use this class to quickly configure the package. More...
Static Public Member Functions | |
static void | doConfigure (Hierarchy &h=Logger::getDefaultHierarchy(), bool logToStdErr=false) |
This method eliminates the need to create a temporary BasicConfigurator object to configure log4cplus. More... | |
![]() | |
static void | doConfigure (const log4cplus::tstring &configFilename, Hierarchy &h=Logger::getDefaultHierarchy(), unsigned flags=0) |
This method eliminates the need to create a temporary PropertyConfigurator to configure log4cplus. More... | |
Static Public Attributes | |
static log4cplus::tstring const | DISABLE_OVERRIDE_KEY |
Property name for disable override. | |
Additional Inherited Members | |
![]() | |
virtual void | configure () |
Read configuration from a file. More... | |
log4cplus::helpers::Properties const & | getProperties () const |
log4cplus::tstring const & | getPropertyFilename () const |
Use this class to quickly configure the package.
For file based configuration see PropertyConfigurator. BasicConfigurator automatically attaches ConsoleAppender to rootLogger
, with output going to standard output, using DEBUG LogLevel value. The additional parameter logToStdErr may redirect the output to standard error.
|
static |
This method eliminates the need to create a temporary BasicConfigurator
object to configure log4cplus.
It is equivalent to the following:
BasicConfigurator config; config.configure();