Better exception logging with Serilog.Exceptions library

This commit is contained in:
Robert McRackan 2022-03-03 16:54:43 -05:00
parent 424d939c15
commit 0a0f60192b
5 changed files with 159 additions and 29 deletions

View file

@ -270,7 +270,7 @@ namespace LibationFileManager
var valueWasChanged = persistentDictionary.SetWithJsonPath("Serilog", "MinimumLevel", value.ToString());
if (!valueWasChanged)
{
Log.Logger.Information("LogLevel.set attempt. No change");
Log.Logger.Debug("LogLevel.set attempt. No change");
return;
}