Only use abbreviated names for log levels

This commit is contained in:
Danny Robson 2012-05-11 12:18:08 +10:00
parent ba92eed1f5
commit 7281930a39

View File

@ -66,11 +66,11 @@ string_to_level (const string &name) {
{ "ALERT", ALERT }, { "ALERT", ALERT },
{ "CRITICAL", CRITICAL }, { "CRITICAL", CRITICAL },
{ "ERROR", ERROR }, { "ERROR", ERROR },
{ "WARNING", WARNING }, { "WARN", WARN },
{ "WARN", WARNING }, { "WARNING", WARN },
{ "NOTICE", NOTICE }, { "NOTICE", NOTICE },
{ "INFO", INFO }, { "INFO", INFO },
{ "INFORMATIONAL", INFORMATIONAL }, { "INFORMATIONAL", INFO },
{ "DEBUG", DEBUG } { "DEBUG", DEBUG }
}; };