aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Logging/SimpleLogManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-08-17 16:19:02 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-08-17 16:19:02 -0400
commita7dcf7191a71bfefd4a8c69d24d2eec53973bb83 (patch)
tree6419c67eef23c5c86fe474448c5e9c78a2172b30 /Emby.Server.Implementations/Logging/SimpleLogManager.cs
parenta57c887f7f367402cd1e3e215a8b8052f3c603da (diff)
add fixes for .net core
Diffstat (limited to 'Emby.Server.Implementations/Logging/SimpleLogManager.cs')
-rw-r--r--Emby.Server.Implementations/Logging/SimpleLogManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Logging/SimpleLogManager.cs b/Emby.Server.Implementations/Logging/SimpleLogManager.cs
index 1a50f162a..5c83766fe 100644
--- a/Emby.Server.Implementations/Logging/SimpleLogManager.cs
+++ b/Emby.Server.Implementations/Logging/SimpleLogManager.cs
@@ -138,10 +138,10 @@ namespace Emby.Server.Implementations.Logging
foreach (var message in _queue.GetConsumingEnumerable())
{
- any = true;
-
var bytes = Encoding.UTF8.GetBytes(message + Environment.NewLine);
_fileStream.Write(bytes, 0, bytes.Length);
+
+ any = true;
}
if (any)