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