Prevent redundant FFlag configuration logs

This commit is contained in:
pizzaboxer 2023-08-26 15:44:42 +01:00
parent 1fda39bfb5
commit f5da33e929
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8

View File

@ -140,9 +140,16 @@ namespace Bloxstrap
else
{
if (Prop.ContainsKey(key))
{
if (key == Prop[key].ToString())
return;
App.Logger.WriteLine(LOG_IDENT, $"Changing of '{key}' from '{Prop[key]}' to '{value}' is pending");
}
else
{
App.Logger.WriteLine(LOG_IDENT, $"Setting of '{key}' to '{value}' is pending");
}
Prop[key] = value.ToString()!;
}