diff --git a/MultiTablePro/App.xaml.cs b/MultiTablePro/App.xaml.cs index 9a02406..7f8e093 100644 --- a/MultiTablePro/App.xaml.cs +++ b/MultiTablePro/App.xaml.cs @@ -3,6 +3,7 @@ using System.Configuration; using System.Data; using System.Linq; +using System.Reflection; using System.Threading.Tasks; using System.Windows; using MultiTablePro.Data; @@ -24,7 +25,7 @@ protected override void OnStartup(StartupEventArgs e) // Notify application started App.Current.Properties["IsRunning"] = true; - Logger.Log("--- Starting application ---"); + Logger.Log($"--- MultiTable Pro v{Assembly.GetExecutingAssembly().GetName().Version.ToString()} Started ---"); // Load config & install on first run // Config needs to be initialized before the license check diff --git a/MultiTablePro/Logger.cs b/MultiTablePro/Logger.cs index 4bf7c47..3191eff 100644 --- a/MultiTablePro/Logger.cs +++ b/MultiTablePro/Logger.cs @@ -58,8 +58,8 @@ public enum Status }; static Queue writeQueue = new Queue(); - static string LogFilePath { get; set; } - static Status LogLevel { get; set; } + public static string LogFilePath { get; set; } + public static Status LogLevel { get; set; } public static void Log(string message, Status status = Status.Info, bool showMessageBox = false) { diff --git a/MultiTablePro/UI/AdvancedSettingsWindow.xaml b/MultiTablePro/UI/AdvancedSettingsWindow.xaml index c172d65..5dfa2cb 100644 --- a/MultiTablePro/UI/AdvancedSettingsWindow.xaml +++ b/MultiTablePro/UI/AdvancedSettingsWindow.xaml @@ -46,7 +46,7 @@ This should only be enabled to collect data for a bug report. Application must be restarted for changes to take effect. -