From af3f72d758fc3e1477746f387ff4dbd1619848fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E5=BD=A6=E8=B5=A4=E5=B1=8B=E5=85=88?= Date: Tue, 21 Feb 2023 22:51:55 +0900 Subject: [PATCH] More verbose application startup logging --- Amethyst/App.xaml.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Amethyst/App.xaml.cs b/Amethyst/App.xaml.cs index dd191e0f..1bf99b43 100644 --- a/Amethyst/App.xaml.cs +++ b/Amethyst/App.xaml.cs @@ -99,6 +99,7 @@ public App() try { // Set maximum log size to 20MB for larger log files + Logger.Info("Setting maximum App Center log size..."); AppCenter.SetMaxStorageSizeAsync(20 * 1024 * 1024).ContinueWith(storageTask => { // Log as an error, we can't really do much about this one after all... @@ -106,6 +107,7 @@ public App() }); // Try starting Visual Studio App Center up + Logger.Info("Starting Visual Studio App Center..."); AppCenter.Start("AZ_APPSECRET", typeof(Analytics), typeof(Crashes)); // Set the code of the language used in Windows @@ -125,9 +127,11 @@ public App() } // Read saved settings + Logger.Info("Reading base app settings..."); AppData.Settings.ReadSettings(); // Read plugin settings + Logger.Info("Reading custom plugin settings..."); TrackingDevices.PluginSettings.ReadSettings(); // Run detached to allow for async calls