diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-03 23:07:10 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-03 23:07:10 +0100 |
| commit | b67e9cde8c2fa17d2bef5c7c81a6507195a7c1ff (patch) | |
| tree | 0c034a55e6e606bc8f9876fc4529403385e2c709 /Emby.Server.Implementations/Devices/DeviceManager.cs | |
| parent | 5276c75cdeb079cd0b24c4b2dc574a584d5817b6 (diff) | |
Replace ILogger with ILogger<T> wherever possible
Log entries will contain additional class context when using this interface
Diffstat (limited to 'Emby.Server.Implementations/Devices/DeviceManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Devices/DeviceManager.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Devices/DeviceManager.cs b/Emby.Server.Implementations/Devices/DeviceManager.cs index 4f8f9f23b..9ac6a1d5e 100644 --- a/Emby.Server.Implementations/Devices/DeviceManager.cs +++ b/Emby.Server.Implementations/Devices/DeviceManager.cs @@ -407,7 +407,10 @@ namespace Emby.Server.Implementations.Devices private readonly IServerConfigurationManager _config; private ILogger _logger; - public DeviceManagerEntryPoint(IDeviceManager deviceManager, IServerConfigurationManager config, ILogger logger) + public DeviceManagerEntryPoint( + IDeviceManager deviceManager, + IServerConfigurationManager config, + ILogger<DeviceManagerEntryPoint> logger) { _deviceManager = (DeviceManager)deviceManager; _config = config; |
