Don't user ILoggerFactory.

This commit is contained in:
Andrew Mahone 2019-11-07 11:55:39 -05:00
parent c6855e6a2a
commit 2338a53229

View File

@ -35,7 +35,7 @@ namespace MediaBrowser.MediaEncoding.Attachments
public AttachmentExtractor( public AttachmentExtractor(
ILibraryManager libraryManager, ILibraryManager libraryManager,
ILoggerFactory loggerFactory, ILogger<AttachmentExtractor> logger,
IApplicationPaths appPaths, IApplicationPaths appPaths,
IFileSystem fileSystem, IFileSystem fileSystem,
IMediaEncoder mediaEncoder, IMediaEncoder mediaEncoder,
@ -43,7 +43,7 @@ namespace MediaBrowser.MediaEncoding.Attachments
IProcessFactory processFactory) IProcessFactory processFactory)
{ {
_libraryManager = libraryManager; _libraryManager = libraryManager;
_logger = loggerFactory.CreateLogger(nameof(AttachmentExtractor)); _logger = logger;
_appPaths = appPaths; _appPaths = appPaths;
_fileSystem = fileSystem; _fileSystem = fileSystem;
_mediaEncoder = mediaEncoder; _mediaEncoder = mediaEncoder;