diff options
| author | crobibero <cody@robibe.ro> | 2020-06-05 18:15:56 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-05 18:15:56 -0600 |
| commit | 44957c5a9a11fcd6e4567c7d31bc39d79c709068 (patch) | |
| tree | 930ce3683a1748571feae7a7f65f5b34b16ea710 /Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | |
| parent | 5e056beaae3b6041e6714268444c3feed42a2600 (diff) | |
Use typed logger where possible
Diffstat (limited to 'Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs index 080cfbbd1..d4a8268b9 100644 --- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs +++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs @@ -53,7 +53,7 @@ namespace Emby.Server.Implementations.AppBase CommonApplicationPaths = applicationPaths; XmlSerializer = xmlSerializer; _fileSystem = fileSystem; - Logger = loggerFactory.CreateLogger(GetType().Name); + Logger = loggerFactory.CreateLogger<BaseConfigurationManager>(); UpdateCachePath(); } @@ -83,7 +83,7 @@ namespace Emby.Server.Implementations.AppBase /// Gets the logger. /// </summary> /// <value>The logger.</value> - protected ILogger Logger { get; private set; } + protected ILogger<BaseConfigurationManager> Logger { get; private set; } /// <summary> /// Gets the XML serializer. |
