From 3180ea993c5dc35cf6997280f43fcb8fd3bf3616 Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Fri, 9 Jul 2021 11:06:57 -0400 Subject: [PATCH] Startup logging: which logging levels are enabled --- LibationLauncher/LibationLauncher.csproj | 2 +- LibationLauncher/Program.cs | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj index d973cd55..8e3bfc51 100644 --- a/LibationLauncher/LibationLauncher.csproj +++ b/LibationLauncher/LibationLauncher.csproj @@ -13,7 +13,7 @@ win-x64 - 5.1.5.1 + 5.1.6.1 diff --git a/LibationLauncher/Program.cs b/LibationLauncher/Program.cs index df139cd5..fc353138 100644 --- a/LibationLauncher/Program.cs +++ b/LibationLauncher/Program.cs @@ -437,6 +437,13 @@ namespace LibationLauncher { Version = BuildVersion.ToString(), + LogLevel_Verbose_Enabled = Serilog.Log.Logger.IsEnabled(Serilog.Events.LogEventLevel.Verbose), + LogLevel_Debug_Enabled = Serilog.Log.Logger.IsEnabled(Serilog.Events.LogEventLevel.Debug), + LogLevel_Information_Enabled = Serilog.Log.Logger.IsEnabled(Serilog.Events.LogEventLevel.Information), + LogLevel_Warning_Enabled = Serilog.Log.Logger.IsEnabled(Serilog.Events.LogEventLevel.Warning), + LogLevel_Error_Enabled = Serilog.Log.Logger.IsEnabled(Serilog.Events.LogEventLevel.Error), + LogLevel_Fatal_Enabled = Serilog.Log.Logger.IsEnabled(Serilog.Events.LogEventLevel.Fatal), + config.LibationFiles, AudibleFileStorage.BooksDirectory,