functions for initializing the logging system
More...
List of all members.
Detailed Description
functions for initializing the logging system
Definition at line 105 of file oflog.h.
Member Function Documentation
add the command line options which configureFromCommandLine() checks for
- Parameters:
-
cmd | the command line to which these options should be added |
static void OFLog::configure |
( |
OFLogger::LogLevel |
level = OFLogger::WARN_LOG_LEVEL | ) |
[static] |
set up the logging and enable it
- Parameters:
-
level | the verbosity that you want |
handle the command line options used for logging
- Parameters:
-
cmd | the command line whose options are handled |
app | the console application which is used for console output and error checking |
static void OFLog::configureLogger |
( |
log4cplus::LogLevel |
level | ) |
[static, private] |
set up the logging and enable it
- Parameters:
-
level | the verbosity that you want |
static OFLogger OFLog::getLogger |
( |
const char * |
name | ) |
[static] |
create a new Logger object
- Parameters:
-
name | the name of the logger |
static void OFLog::reconfigure |
( |
OFCommandLine * |
cmd = NULL | ) |
[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, ....)
- Parameters:
-
cmd | command line from which the application name will be retrieved |
The documentation for this class was generated from the following file: