fix log in release mode
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user