Skip to content

Commit

Permalink
now uses LogLevel.InvariantName for loggin purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
5cover committed Jul 18, 2022
1 parent 7fdcf92 commit 1f4c6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Presentation/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1f4c6e1

Please sign in to comment.