Avoid "Unknown severity" message also for uppercase fatal

This commit is contained in:
Alexey Rybalchenko 2022-06-28 11:22:55 +02:00 committed by GitHub
parent 01939ed19d
commit cd33a853b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 },