summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/console/Event.cpp16
-rw-r--r--cpp/src/qpid/console/Event.h4
2 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/qpid/console/Event.cpp b/cpp/src/qpid/console/Event.cpp
index b7fdde1487..7d6f5764a2 100644
--- a/cpp/src/qpid/console/Event.cpp
+++ b/cpp/src/qpid/console/Event.cpp
@@ -52,14 +52,14 @@ const ClassKey& Event::getClassKey() const
string Event::getSeverityString() const
{
switch (severity) {
- case EMERGENCY : return string("EMER");
- case ALERT : return string("ALERT");
- case CRITICAL : return string("CRIT");
- case ERROR : return string("ERROR");
- case WARNING : return string("WARN");
- case NOTICE : return string("NOTIC");
- case INFO : return string("INFO");
- case DEBUG : return string("DEBUG");
+ case SEV_EMERGENCY : return string("EMER");
+ case SEV_ALERT : return string("ALERT");
+ case SEV_CRITICAL : return string("CRIT");
+ case SEV_ERROR : return string("ERROR");
+ case SEV_WARNING : return string("WARN");
+ case SEV_NOTICE : return string("NOTIC");
+ case SEV_INFO : return string("INFO");
+ case SEV_DEBUG : return string("DEBUG");
}
return string("<UNKNOWN>");
}
diff --git a/cpp/src/qpid/console/Event.h b/cpp/src/qpid/console/Event.h
index 4c8d639a33..14f5a64716 100644
--- a/cpp/src/qpid/console/Event.h
+++ b/cpp/src/qpid/console/Event.h
@@ -42,8 +42,8 @@ namespace console {
class Event {
public:
typedef enum {
- EMERGENCY = 0, ALERT = 1, CRITICAL = 2, ERROR = 3, WARNING = 4,
- NOTICE = 5, INFO = 6, DEBUG = 7
+ SEV_EMERGENCY = 0, SEV_ALERT = 1, SEV_CRITICAL = 2, SEV_ERROR = 3,
+ SEV_WARNING = 4, SEV_NOTICE = 5, SEV_INFO = 6, SEV_DEBUG = 7
} Severity;
Event(Broker* broker, SchemaClass* schemaClass, framing::Buffer& buffer);