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

@@ -23,7 +23,10 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
/// <summary>
/// Initializes a new instance of the <see cref="DeleteTranscodeFileTask" /> class.
/// </summary>
public DeleteTranscodeFileTask(ILogger logger, IFileSystem fileSystem, IConfigurationManager configurationManager)
public DeleteTranscodeFileTask(
ILogger<DeleteTranscodeFileTask> logger,
IFileSystem fileSystem,
IConfigurationManager configurationManager)
{
_logger = logger;
_fileSystem = fileSystem;