Remove a bunch of references to the old logger

This commit is contained in:
Mole
2020-09-21 09:52:58 +02:00
parent 894abdd183
commit ab3ac5ad91
76 changed files with 272 additions and 251 deletions

View File

@@ -1,6 +1,6 @@
using System;
using System.IO;
using Umbraco.Core.Logging;
using Microsoft.Extensions.Logging;
using Umbraco.Core.Models.Entities;
using Umbraco.Core.Persistence.Dtos;
@@ -78,7 +78,7 @@ namespace Umbraco.Core.Models
/// <param name="getParent">A callback specified to retrieve the parent entity of the entity</param>
/// <param name="update">A callback specified to update a fixed entity</param>
public static void EnsureValidPath<T>(this T entity,
ILogger logger,
ILogger<T> logger,
Func<T, T> getParent,
Action<T> update)
where T: IUmbracoEntity