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

@@ -33,14 +33,14 @@ namespace Emby.Server.Implementations.Playlists
ILibraryManager libraryManager,
IFileSystem fileSystem,
ILibraryMonitor iLibraryMonitor,
ILoggerFactory loggerFactory,
ILogger<PlaylistManager> logger,
IUserManager userManager,
IProviderManager providerManager)
{
_libraryManager = libraryManager;
_fileSystem = fileSystem;
_iLibraryMonitor = iLibraryMonitor;
_logger = loggerFactory.CreateLogger(nameof(PlaylistManager));
_logger = logger;
_userManager = userManager;
_providerManager = providerManager;
}