10 #ifndef _LOG4CPP_PRIORITY_HH
11 #define _LOG4CPP_PRIORITY_HH
22 #ifdef LOG4CPP_FIX_ERROR_COLLISION
25 static const int _tmpERRORValue = ERROR;
29 static const int ERROR = LOG4CPP_NS::_tmpERRORValue;
32 #else // LOG4CPP_FIX_ERROR_COLLISION
33 #error Naming collision for 'ERROR' detected. Please read the FAQ for a \
35 #endif // LOG4CPP_FIX_ERROR_COLLISION
44 #ifdef LOG4CPP_FIX_ERROR_COLLISION
49 #else // LOG4CPP_FIX_ERROR_COLLISION
50 #error Naming collision for 'DEBUG' detected. Please read the FAQ for a \
52 #endif // LOG4CPP_FIX_ERROR_COLLISION
97 static const std::string& getPriorityName(
int priority)
throw();
108 static Value getPriorityValue(
const std::string& priorityName);
113 #endif // _LOG4CPP_PRIORITY_HH