10 #ifndef _LOG4CPP_PRIORITY_HH
11 #define _LOG4CPP_PRIORITY_HH
21 #ifdef LOG4CPP_FIX_ERROR_COLLISION
24 static const int _tmpERRORValue = ERROR;
28 static const int ERROR = log4cpp::_tmpERRORValue;
31 #else // LOG4CPP_FIX_ERROR_COLLISION
32 #error Naming collision for 'ERROR' detected. Please read the FAQ for a \
34 #endif // LOG4CPP_FIX_ERROR_COLLISION
43 #ifdef LOG4CPP_FIX_ERROR_COLLISION
48 #else // LOG4CPP_FIX_ERROR_COLLISION
49 #error Naming collision for 'DEBUG' detected. Please read the FAQ for a \
51 #endif // LOG4CPP_FIX_ERROR_COLLISION
70 typedef enum {EMERG = 0,
95 static const std::string& getPriorityName(
int priority)
throw();
106 static Value getPriorityValue(
const std::string& priorityName)
107 throw(std::invalid_argument);
111 #endif // _LOG4CPP_PRIORITY_HH
static const int MESSAGE_SIZE
Definition: Priority.hh:64
#define LOG4CPP_EXPORT
Definition: Export.hh:19
int Value
The type of Priority Values.
Definition: Priority.hh:85
The Priority class provides importance levels with which one can categorize log messages.
Definition: Priority.hh:61