| DCMTK Version 3.6.9
    OFFIS DICOM Toolkit | 
functions for initializing the logging system More...
| Static Public Member Functions | |
| static OFLogger | getLogger (const char *name) | 
| create a new logger object. | |
| static void | configure (OFLogger::LogLevel level=OFLogger::WARN_LOG_LEVEL) | 
| set up the logging and enable it | |
| static void | configureFromCommandLine (OFCommandLine &cmd, OFConsoleApplication &app, OFLogger::LogLevel defaultLevel=OFLogger::WARN_LOG_LEVEL) | 
| handle the command line options used for logging | |
| static void | addOptions (OFCommandLine &cmd) | 
| add the command line options which configureFromCommandLine() checks for | |
| static void | reconfigure (OFCommandLine *cmd=NULL) | 
| if there was a config file loaded in configureFromCommandLine(), the in-memory copy will be parsed again, but all variables will be updated first (current time, process id, ....) | |
| Private Member Functions | |
| OFLog () | |
| private constructor, don't create instances of this class | |
| Static Private Member Functions | |
| static void | configureLogger (dcmtk::log4cplus::LogLevel level) | 
| set up the logging and enable it | |
| Static Private Attributes | |
| static OFunique_ptr< dcmtk::log4cplus::helpers::Properties > | configProperties_ | 
| If we loaded a config file in configureFromCommandLine(), this is it. | |
functions for initializing the logging system
| 
 | static | 
add the command line options which configureFromCommandLine() checks for
| cmd | the command line to which these options should be added | 
Referenced by OFTestManager::run().
| 
 | static | 
set up the logging and enable it
| level | the verbosity that you want | 
References OFLogger::WARN_LOG_LEVEL.
| 
 | static | 
handle the command line options used for logging
| cmd | the command line whose options are handled | 
| app | the console application which is used for console output and error checking | 
| defaultLevel | default log level that is used if not specified on the command line | 
References OFLogger::WARN_LOG_LEVEL.
Referenced by OFTestManager::run().
| 
 | staticprivate | 
set up the logging and enable it
| level | the verbosity that you want | 
| 
 | static | 
create a new logger object.
Logger objects have a reference counting copy-constructor, so returning by-value is cheap.
| name | the name of the logger | 
| 
 | static | 
if there was a config file loaded in configureFromCommandLine(), the in-memory copy will be parsed again, but all variables will be updated first (current time, process id, ....)
| cmd | command line from which the application name will be retrieved |