Пример #1
0
        private static void UnhandledExceptionHandler(object sender, UnhandledExceptionEventArgs e)
        {
            Exception ex = (Exception)e.ExceptionObject;

            SLogger.LogFatalFormat(ex, "Unhandled exception while running ClientConsole. Details:{0}; IsTerminating:{1}",
                                   ex.Message, e.IsTerminating);
        }