Update Logger.cs
This commit is contained in:
parent
39dbdfea89
commit
f0bcebbd10
1 changed files with 4 additions and 0 deletions
|
|
@ -89,6 +89,10 @@ public class Logger
|
||||||
GC.KeepAlive(b.TimeOfEvent);
|
GC.KeepAlive(b.TimeOfEvent);
|
||||||
|
|
||||||
string LogLevelText = b.LogLevel.ToString();
|
string LogLevelText = b.LogLevel.ToString();
|
||||||
|
|
||||||
|
if (LogLevelText.Length != 5)
|
||||||
|
LogLevelText += " ";
|
||||||
|
|
||||||
ConsoleColor LogLevelColor = ConsoleColor.Gray;
|
ConsoleColor LogLevelColor = ConsoleColor.Gray;
|
||||||
|
|
||||||
LogLevelColor = b.LogLevel switch
|
LogLevelColor = b.LogLevel switch
|
||||||
|
|
|
||||||
Reference in a new issue