Use Microsoft ILogger in Repositories

This commit is contained in:
Nikolaj
2020-09-17 09:42:55 +02:00
parent 9511c99ee7
commit 001df5f5a1
39 changed files with 130 additions and 117 deletions

View File

@@ -1,10 +1,10 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using NPoco;
using Umbraco.Core.Cache;
using Umbraco.Core.Exceptions;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Entities;
using Umbraco.Core.Persistence.Querying;
using Umbraco.Core.Scoping;
@@ -18,7 +18,7 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
where TEntity : class, IEntity
where TDto: class
{
protected SimpleGetRepository(IScopeAccessor scopeAccessor, AppCaches cache, ILogger logger)
protected SimpleGetRepository(IScopeAccessor scopeAccessor, AppCaches cache, ILogger<SimpleGetRepository<TId, TEntity, TDto>> logger)
: base(scopeAccessor, cache, logger)
{ }