Remove LogWarning<T> from LoggerExtensions

This commit is contained in:
Nikolaj
2020-09-16 09:58:07 +02:00
parent dda6fb12a3
commit 488093add3
56 changed files with 105 additions and 155 deletions

View File

@@ -174,7 +174,7 @@ namespace Umbraco.Web.Models.Mapping
else
{
// weird - just leave the field without a value - but warn
_logger.LogWarning<DataTypeMapDefinition>("Could not find a value for configuration field '{ConfigField}'", field.Key);
_logger.LogWarning("Could not find a value for configuration field '{ConfigField}'", field.Key);
}
}
}

View File

@@ -73,7 +73,7 @@ namespace Umbraco.Web.Models.Mapping
{
//we'll just map this to a text box
paramEditor = _parameterEditors[Constants.PropertyEditors.Aliases.TextBox];
_logger.LogWarning<MacroMapDefinition>("Could not resolve a parameter editor with alias {PropertyEditorAlias}, a textbox will be rendered in it's place", source.EditorAlias);
_logger.LogWarning("Could not resolve a parameter editor with alias {PropertyEditorAlias}, a textbox will be rendered in it's place", source.EditorAlias);
}
target.View = paramEditor.GetValueEditor().View;