Merge pull request #2845 from umbraco/temp8-serilog

Bye bye Log4Net, Hello Serilog
This commit is contained in:
Shannon Deminick
2018-08-28 20:31:12 +10:00
committed by GitHub
181 changed files with 1316 additions and 1367 deletions

View File

@@ -40,8 +40,9 @@ namespace Umbraco.Web.Models.Mapping
if (editor == null)
{
_logger.Error<ContentPropertyBasicConverter<TDestination>>(
"No property editor found, converting to a Label",
new NullReferenceException("The property editor with alias " + property.PropertyType.PropertyEditorAlias + " does not exist"));
new NullReferenceException("The property editor with alias " + property.PropertyType.PropertyEditorAlias + " does not exist"),
"No property editor '{PropertyEditorAlias}' found, converting to a Label",
property.PropertyType.PropertyEditorAlias);
editor = _propertyEditors[Constants.PropertyEditors.Aliases.NoEdit];
}