#include <Priority.hh>
Public Types | |
typedef int | Value |
The type of Priority Values. More... | |
enum | PriorityLevel { EMERG = 0, FATAL = 0, ALERT = 100, CRIT = 200, ERROR = 300, WARN = 400, NOTICE = 500, INFO = 600, DEBUG = 700, NOTSET = 800 } |
Predefined Levels of Priorities. More... | |
Static Public Methods | |
const std::string & | getPriorityName (int priority) throw () |
Returns the name of the given priority value. More... | |
Value | getPriorityValue (const std::string &priorityName) throw (std::invalid_argument) |
Returns the value of the given priority name. More... |
|
The type of Priority Values.
|
|
Predefined Levels of Priorities. These correspond to the priority levels used by syslog(3). |
|
Returns the name of the given priority value. Currently, if the value is not one of the PriorityLevel values, the method returns the name of the largest priority smaller the given value.
|
|
Returns the value of the given priority name. This can be either one of EMERG ... NOTSET or a decimal string representation of the value, e.g. '700' for DEBUG.
|