Skip to content
Snippets Groups Projects
Commit a379e659 authored by Steven Murray's avatar Steven Murray
Browse files

cta/CTA#523 Made all of the CTA logger levels uppercase

parent 883dba7d
No related branches found
No related tags found
No related merge requests found
...@@ -120,14 +120,14 @@ std::map<int, std::string> ...@@ -120,14 +120,14 @@ std::map<int, std::string>
std::map<int, std::string> m; std::map<int, std::string> m;
try { try {
m[LOG_EMERG] = "Emerg"; m[LOG_EMERG] = "EMERG";
m[ALERT] = "Alert"; m[ALERT] = "ALERT";
m[LOG_CRIT] = "Crit"; m[LOG_CRIT] = "CRIT";
m[ERR] = "Error"; m[ERR] = "ERROR";
m[WARNING] = "Warn"; m[WARNING] = "WARN";
m[LOG_NOTICE] = "Notice"; m[LOG_NOTICE] = "NOTICE";
m[INFO] = "Info"; m[INFO] = "INFO";
m[DEBUG] = "Debug"; m[DEBUG] = "DEBUG";
} catch(std::exception &se) { } catch(std::exception &se) {
exception::Exception ex; exception::Exception ex;
ex.getMessage() << "Failed to generate priority to text mapping: " << ex.getMessage() << "Failed to generate priority to text mapping: " <<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment