Temporary fix console logging not working on Unity 2018+ games

Rebase of f22e583
This commit is contained in:
Bepis committed 2020-11-05 23:55:15 +11:00
1 parent 0d702ff967
commit 2d32ccab9f
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ namespace BepInEx.Logging
return;
ConsoleManager.SetConsoleColor(eventArgs.Level.GetConsoleColor());
Console.Write(eventArgs.ToStringLine());
ConsoleManager.ConsoleStream?.Write(eventArgs.ToStringLine());
ConsoleManager.SetConsoleColor(ConsoleColor.Gray);
}