10 #ifndef _LOG4SHIB_PRIORITY_HH
11 #define _LOG4SHIB_PRIORITY_HH
21 #ifdef LOG4SHIB_FIX_ERROR_COLLISION
24 static const int _tmpERRORValue = ERROR;
28 static const int ERROR = log4shib::_tmpERRORValue;
31 #else // LOG4SHIB_FIX_ERROR_COLLISION
32 #error Naming collision for 'ERROR' detected. Please read the FAQ for a \
34 #endif // LOG4SHIB_FIX_ERROR_COLLISION
43 #ifdef LOG4SHIB_FIX_ERROR_COLLISION
48 #else // LOG4SHIB_FIX_ERROR_COLLISION
49 #error Naming collision for 'DEBUG' detected. Please read the FAQ for a \
51 #endif // LOG4SHIB_FIX_ERROR_COLLISION
69 typedef enum {EMERG = 0,
94 static const std::string& getPriorityName(
int priority)
throw();
105 static Value getPriorityValue(
const std::string& priorityName)
106 throw(std::invalid_argument);
110 #endif // _LOG4SHIB_PRIORITY_HH
#define LOG4SHIB_EXPORT
Definition: Export.hh:11
The Priority class provides importance levels with which one can categorize log messages.
Definition: Priority.hh:62
int Value
The type of Priority Values.
Definition: Priority.hh:84
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16