OFFIS DCMTK
Version 3.6.0
|
This header defines the LogLevel type. More...
Go to the source code of this file.
Classes | |
class | log4cplus::LogLevelManager |
This class is used to "manage" LogLevel definitions. More... | |
Typedefs | |
typedef int | log4cplus::LogLevel |
Defines the minimum set of priorities recognized by the system, that is FATAL_LOG_LEVEL, ERROR_LOG_LEVEL, WARN_LOG_LEVEL, INFO_LOG_LEVEL, DEBUG_LOG_LEVEL, and TRACE_LOG_LEVEL. | |
typedef log4cplus::tstring(* | log4cplus::LogLevelToStringMethod) (LogLevel) |
This method type defined the signature of methods that convert LogLevels into strings. More... | |
typedef LogLevel(* | log4cplus::StringToLogLevelMethod) (const log4cplus::tstring &) |
This method type defined the signature of methods that convert strings into LogLevels. More... | |
Functions | |
LOG4CPLUS_EXPORT LogLevelManager & | log4cplus::getLogLevelManager () |
Returns the singleton LogLevelManager. | |
Variables | |
const LogLevel | log4cplus::OFF_LOG_LEVEL = 60000 |
The OFF_LOG_LEVEL LogLevel is used during configuration to turn off logging. More... | |
const LogLevel | log4cplus::FATAL_LOG_LEVEL = 50000 |
The FATAL_LOG_LEVEL LogLevel designates very severe error events that will presumably lead the application to abort. More... | |
const LogLevel | log4cplus::ERROR_LOG_LEVEL = 40000 |
The ERROR_LOG_LEVEL LogLevel designates error events that might still allow the application to continue running. More... | |
const LogLevel | log4cplus::WARN_LOG_LEVEL = 30000 |
The WARN_LOG_LEVEL LogLevel designates potentially harmful situations. More... | |
const LogLevel | log4cplus::INFO_LOG_LEVEL = 20000 |
The INFO_LOG_LEVEL LogLevel designates informational messages that highlight the progress of the application at coarse-grained level. More... | |
const LogLevel | log4cplus::DEBUG_LOG_LEVEL = 10000 |
The DEBUG_LOG_LEVEL LogLevel designates fine-grained informational events that are most useful to debug an application. More... | |
const LogLevel | log4cplus::TRACE_LOG_LEVEL = 0 |
The TRACE_LOG_LEVEL LogLevel is used to "trace" entry and exiting of methods. More... | |
const LogLevel | log4cplus::ALL_LOG_LEVEL = TRACE_LOG_LEVEL |
The ALL_LOG_LEVEL LogLevel is used during configuration to turn on all logging. More... | |
const LogLevel | log4cplus::NOT_SET_LOG_LEVEL = -1 |
The NOT_SET_LOG_LEVEL LogLevel is used to indicated that no particular LogLevel is desired and that the default should be used. | |
This header defines the LogLevel type.
Definition in file loglevel.h.
typedef log4cplus::tstring(* log4cplus::LogLevelToStringMethod) (LogLevel) |
This method type defined the signature of methods that convert LogLevels into strings.
Note: Must return an empty tstring
for unrecognized values.
Definition at line 99 of file loglevel.h.
typedef LogLevel(* log4cplus::StringToLogLevelMethod) (const log4cplus::tstring &) |
This method type defined the signature of methods that convert strings into LogLevels.
Note: Must return NOT_SET_LOG_LEVEL
for unrecognized values.
Definition at line 107 of file loglevel.h.
const LogLevel log4cplus::ALL_LOG_LEVEL = TRACE_LOG_LEVEL |
The ALL_LOG_LEVEL
LogLevel is used during configuration to turn on all logging.
Definition at line 84 of file loglevel.h.
const LogLevel log4cplus::DEBUG_LOG_LEVEL = 10000 |
The DEBUG_LOG_LEVEL
LogLevel designates fine-grained informational events that are most useful to debug an application.
Definition at line 74 of file loglevel.h.
const LogLevel log4cplus::ERROR_LOG_LEVEL = 40000 |
The ERROR_LOG_LEVEL
LogLevel designates error events that might still allow the application to continue running.
Definition at line 58 of file loglevel.h.
const LogLevel log4cplus::FATAL_LOG_LEVEL = 50000 |
The FATAL_LOG_LEVEL
LogLevel designates very severe error events that will presumably lead the application to abort.
Definition at line 53 of file loglevel.h.
const LogLevel log4cplus::INFO_LOG_LEVEL = 20000 |
The INFO_LOG_LEVEL
LogLevel designates informational messages that highlight the progress of the application at coarse-grained level.
Definition at line 69 of file loglevel.h.
const LogLevel log4cplus::OFF_LOG_LEVEL = 60000 |
The OFF_LOG_LEVEL
LogLevel is used during configuration to turn off logging.
Definition at line 48 of file loglevel.h.
const LogLevel log4cplus::TRACE_LOG_LEVEL = 0 |
The TRACE_LOG_LEVEL
LogLevel is used to "trace" entry and exiting of methods.
Definition at line 79 of file loglevel.h.
const LogLevel log4cplus::WARN_LOG_LEVEL = 30000 |
The WARN_LOG_LEVEL
LogLevel designates potentially harmful situations.
Definition at line 63 of file loglevel.h.