28 #ifndef _LOG4TANGO_LEVEL_H
29 #define _LOG4TANGO_LEVEL_H
39 #ifdef LOG4TANGO_FIX_ERROR_COLLISION
42 static const int _tmpERRORValue = ERROR;
46 static const int ERROR = log4tango::_tmpERRORValue;
49 #else // LOG4TANGO_FIX_ERROR_COLLISION
50 #error Naming collision for 'ERROR' detected. Please read the FAQ for a \
52 #endif // LOG4TANGO_FIX_ERROR_COLLISION
61 #ifdef LOG4TANGO_FIX_ERROR_COLLISION
66 #else // LOG4TANGO_FIX_ERROR_COLLISION
67 #error Naming collision for 'DEBUG' detected. Please read the FAQ for a \
69 #endif // LOG4TANGO_FIX_ERROR_COLLISION
108 static const std::string& get_name (Value level);
119 static Value get_value (
const std::string& level_name)
120 throw(std::invalid_argument);
125 #endif // _LOG4TANGO_LEVEL_H
Definition: Appender.hh:40
#define LOG4TANGO_EXPORT
Definition: Export.hh:38
int Value
The type of Level Values.
Definition: Level.hh:98