Typos and formatting
This commit is contained in:
parent
cab8555ab5
commit
3a48479435
7 changed files with 92 additions and 93 deletions
|
|
@ -36,7 +36,7 @@ namespace LibationFileManager
|
|||
}
|
||||
set
|
||||
{
|
||||
OnPropertyChanging(nameof(LogLevel), LogLevel, value);
|
||||
OnPropertyChanging(nameof(LogLevel), LogLevel, value);
|
||||
var valueWasChanged = persistentDictionary.SetWithJsonPath("Serilog", "MinimumLevel", value.ToString());
|
||||
if (!valueWasChanged)
|
||||
{
|
||||
|
|
@ -46,9 +46,9 @@ namespace LibationFileManager
|
|||
|
||||
configuration.Reload();
|
||||
|
||||
OnPropertyChanged(nameof(LogLevel), value);
|
||||
OnPropertyChanged(nameof(LogLevel), value);
|
||||
|
||||
Log.Logger.Information("Updated LogLevel MinimumLevel. {@DebugInfo}", new
|
||||
Log.Logger.Information("Updated LogLevel MinimumLevel. {@DebugInfo}", new
|
||||
{
|
||||
LogLevel_Verbose_Enabled = Log.Logger.IsVerboseEnabled(),
|
||||
LogLevel_Debug_Enabled = Log.Logger.IsDebugEnabled(),
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace LibationFileManager
|
|||
/*
|
||||
* Use this type in the getter for any Dictionary<TKey, TValue> settings,
|
||||
* and be sure to clone it before returning. This allows Configuration to
|
||||
* accurately detect if an of the Dictionary's elements have changed.
|
||||
* accurately detect if any of the Dictionary's elements have changed.
|
||||
*/
|
||||
private class EquatableDictionary<TKey, TValue> : Dictionary<TKey, TValue>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue