private static void MyHandler(object sender, UnhandledExceptionEventArgs args) { var e = (Exception)args.ExceptionObject; //Logger.LogCriticalException("SYSTEM CRITICAL EXCEPTION: " + e); PlusEnvironment.PerformShutDown(); }
private static void MyHandler(object sender, UnhandledExceptionEventArgs args) { Logging.DisablePrimaryWriting(true); var e = (Exception)args.ExceptionObject; Logging.LogCriticalException("SYSTEM CRITICAL EXCEPTION: " + e); PlusEnvironment.PerformShutDown(); }
private static void MyHandler(object sender, UnhandledExceptionEventArgs args) { Logging.DisablePrimaryWriting(true); var e = (Exception)args.ExceptionObject; Logging.LogCriticalException("Exceção critima do sistema: " + e); PlusEnvironment.PerformShutDown(true); }