Better exception logging with Serilog.Exceptions library
This commit is contained in:
parent
424d939c15
commit
0a0f60192b
5 changed files with 159 additions and 29 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue