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;
32#error Naming collision for 'ERROR' detected. Please read the FAQ for a \
43#ifdef LOG4CPP_FIX_ERROR_COLLISION
49#error Naming collision for 'DEBUG' detected. Please read the FAQ for a \
#define LOG4CPP_EXPORT
Definition Export.hh:26
#define LOG4CPP_NOTHROW
Definition Portability.hh:80
The Priority class provides importance levels with which one can categorize log messages.
Definition Priority.hh:61
int Value
The type of Priority Values.
Definition Priority.hh:85
static const std::string & getPriorityName(int priority) LOG4CPP_NOTHROW
Returns the name of the given priority value.
Definition Priority.cpp:37
static Value getPriorityValue(const std::string &priorityName)
Returns the value of the given priority name.
Definition Priority.cpp:44
static const int MESSAGE_SIZE
Definition Priority.hh:64
@ FATAL
Definition Priority.hh:71
@ CRIT
Definition Priority.hh:73
@ DEBUG
Definition Priority.hh:78
@ EMERG
Definition Priority.hh:70
@ INFO
Definition Priority.hh:77
@ ALERT
Definition Priority.hh:72
@ WARN
Definition Priority.hh:75
@ ERROR
Definition Priority.hh:74
@ NOTICE
Definition Priority.hh:76
@ NOTSET
Definition Priority.hh:79
The top level namespace for all 'Log for C++' types and classes.
Definition AbortAppender.hh:16