26 #ifndef LOG4CPLUS_LOGLEVEL_HEADER_ 27 #define LOG4CPLUS_LOGLEVEL_HEADER_ 31 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE) 173 struct LogLevelToStringMethodRec
175 LogLevelToStringMethodRec ();
181 typedef std::vector<LogLevelToStringMethodRec> LogLevelToStringMethodList;
182 LogLevelToStringMethodList toStringMethods;
184 typedef std::vector<StringToLogLevelMethod> StringToLogLevelMethodList;
185 StringToLogLevelMethodList fromStringMethods;
200 #endif // LOG4CPLUS_LOGLEVEL_HEADER_ LogLevel(* StringToLogLevelMethod)(const log4cplus::tstring &)
This method type defined the signature of methods that convert strings into LogLevels.
const LogLevel OFF_LOG_LEVEL
The OFF_LOG_LEVEL LogLevel is used during configuration to turn off logging.
LOG4CPLUS_EXPORT LogLevelManager & getLogLevelManager()
Returns the singleton LogLevelManager.
const LogLevel INFO_LOG_LEVEL
The INFO_LOG_LEVEL LogLevel designates informational messages that highlight the progress of the appl...
const LogLevel ERROR_LOG_LEVEL
The ERROR_LOG_LEVEL LogLevel designates error events that might still allow the application to contin...
const LogLevel ALL_LOG_LEVEL
The ALL_LOG_LEVEL LogLevel is used during configuration to turn on all logging.
const LogLevel WARN_LOG_LEVEL
The WARN_LOG_LEVEL LogLevel designates potentially harmful situations.
const LogLevel NOT_SET_LOG_LEVEL
The NOT_SET_LOG_LEVEL LogLevel is used to indicated that no particular LogLevel is desired and that t...
std::basic_string< tchar > tstring
log4cplus::tstring const &(* LogLevelToStringMethod)(LogLevel)
This method type defined the signature of methods that convert LogLevels into strings.
This class is used to "manage" LogLevel definitions.
const LogLevel TRACE_LOG_LEVEL
The TRACE_LOG_LEVEL LogLevel is used to "trace" entry and exiting of methods.
int LogLevel
Defines the minimum set of priorities recognized by the system, that is FATAL_LOG_LEVEL,...
const LogLevel FATAL_LOG_LEVEL
The FATAL_LOG_LEVEL LogLevel designates very severe error events that will presumably lead the applic...
const LogLevel DEBUG_LOG_LEVEL
The DEBUG_LOG_LEVEL LogLevel designates fine-grained informational events that are most useful to deb...