Esempio n. 1
0
 private void ApplicationExit(object sender, ExitEventArgs e)
 {
     SourceLogLogger.LogInformation("Application closing...");
 }
Esempio n. 2
0
 public App()
 {
     AppDomain.CurrentDomain.UnhandledException += CurrentDomainUnhandledException;
     SourceLogLogger.LogInformation($"Application starting.. (version: {Assembly.GetExecutingAssembly().GetName().Version})");
 }