Replace ILogger with ILogger<T> wherever possible

Log entries will contain additional class context when using this interface
This commit is contained in:
Mark Monteiro
2020-03-03 23:07:10 +01:00
parent 5276c75cde
commit b67e9cde8c
86 changed files with 261 additions and 93 deletions

View File

@@ -29,7 +29,10 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
/// <summary>
/// Initializes a new instance of the <see cref="DeleteCacheFileTask" /> class.
/// </summary>
public DeleteCacheFileTask(IApplicationPaths appPaths, ILogger logger, IFileSystem fileSystem)
public DeleteCacheFileTask(
IApplicationPaths appPaths,
ILogger<DeleteCacheFileTask> logger,
IFileSystem fileSystem)
{
ApplicationPaths = appPaths;
_logger = logger;