aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/TextEncoding/TextEncoding.cs
diff options
context:
space:
mode:
authorLogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>2019-01-01 11:47:57 -0800
committerGitHub <noreply@github.com>2019-01-01 11:47:57 -0800
commit443218e3f109cdfbffa8c8c5d30e09e3ba5c2285 (patch)
tree6de8dee799eebba514bac0b6eac457b4c0137978 /Emby.Server.Implementations/TextEncoding/TextEncoding.cs
parent0c52f448a0c6d5cd3c5cce597fcf3ad9582c90f1 (diff)
parentcff0ece07329bbfa05fd22fbde444d09aaeb9a5c (diff)
Merge pull request #4 from jellyfin/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/TextEncoding/TextEncoding.cs')
-rw-r--r--Emby.Server.Implementations/TextEncoding/TextEncoding.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/TextEncoding/TextEncoding.cs b/Emby.Server.Implementations/TextEncoding/TextEncoding.cs
index ea87a9539..f30c181a0 100644
--- a/Emby.Server.Implementations/TextEncoding/TextEncoding.cs
+++ b/Emby.Server.Implementations/TextEncoding/TextEncoding.cs
@@ -1,7 +1,7 @@
using System;
using System.Text;
using MediaBrowser.Model.IO;
-using MediaBrowser.Model.Logging;
+using Microsoft.Extensions.Logging;
using MediaBrowser.Model.Serialization;
using MediaBrowser.Model.Text;
using NLangDetect.Core;
@@ -102,7 +102,7 @@ namespace Emby.Server.Implementations.TextEncoding
if (!string.IsNullOrWhiteSpace(language))
{
- _logger.Debug("Text language detected as {0}", language);
+ _logger.LogDebug("Text language detected as {0}", language);
}
}
@@ -165,7 +165,7 @@ namespace Emby.Server.Implementations.TextEncoding
throw new ArgumentNullException("charset");
}
- _logger.Debug("Getting encoding object for character set: {0}", charset);
+ _logger.LogDebug("Getting encoding object for character set: {0}", charset);
try
{
@@ -174,7 +174,7 @@ namespace Emby.Server.Implementations.TextEncoding
catch (ArgumentException)
{
charset = charset.Replace("-", string.Empty);
- _logger.Debug("Getting encoding object for character set: {0}", charset);
+ _logger.LogDebug("Getting encoding object for character set: {0}", charset);
return Encoding.GetEncoding(charset);
}