Browse Source

Make logger display only highest level when writing

Bepis 6 years ago
parent
commit
3d223cd2a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BepInEx/Logging/BaseLogger.cs

+ 1 - 1
BepInEx/Logging/BaseLogger.cs

@@ -45,7 +45,7 @@ namespace BepInEx.Logging
                 lock (logLockObj)
                 {
                     EntryLogged?.Invoke(level, entry);
-                    WriteLine($"[{level}] {entry}");
+                    WriteLine($"[{level.GetHighestLevel()}] {entry}");
                 }
             }
         }