From 1f4c6e1a1e3be865ce0504a7b44788d239a9280a Mon Sep 17 00:00:00 2001 From: Scover Date: Mon, 18 Jul 2022 12:43:52 +0200 Subject: [PATCH] now uses LogLevel.InvariantName for loggin purposes --- Presentation/Logger.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Presentation/Logger.cs b/Presentation/Logger.cs index 1f2af1e..f0e59b3 100644 --- a/Presentation/Logger.cs +++ b/Presentation/Logger.cs @@ -59,7 +59,7 @@ public void Log(string message, LogLevel? lvl = null, _csvWriter.WriteRecord(new LogEntry { Date = DateTime.Now, - Level = lvl.Name, + Level = lvl.InvariantName, Happening = Happening ?? string.Empty, Message = message, Caller = caller,