fix log in release mode

This commit is contained in:
Bishbash777
2021-07-28 18:53:58 +02:00
parent 147c94fd93
commit f2c03cbc34

View File

@@ -55,6 +55,8 @@ quit";
#if !DEBUG #if !DEBUG
AppDomain.CurrentDomain.UnhandledException += HandleException; AppDomain.CurrentDomain.UnhandledException += HandleException;
LogManager.Configuration.AddRule(LogLevel.Info, LogLevel.Fatal, "console");
LogManager.ReconfigExistingLoggers();
#endif #endif
#if DEBUG #if DEBUG