Avoid "Unknown severity" message also for uppercase fatal

This commit is contained in:
Alexey Rybalchenko 2022-06-28 11:22:55 +02:00
parent 7fc05f3808
commit d61f11c50e

View File

@ -67,6 +67,7 @@ const unordered_map<string, Severity> Logger::fSeverityMap =
{ "nolog", Severity::nolog },
{ "NOLOG", Severity::nolog },
{ "fatal", Severity::fatal },
{ "FATAL", Severity::fatal },
{ "error", Severity::error },
{ "ERROR", Severity::error },
{ "alarm", Severity::alarm },