Remove LogWarning<T> from LoggerExtensions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user