From 33a52c4fa8f18770a817edecffecb3224da39a16 Mon Sep 17 00:00:00 2001 From: deviltti Date: Fri, 10 Jun 2016 20:17:35 -0400 Subject: [PATCH] Fixed derp in Console output --- FFXIVClassic Lobby Server/common/Log.cs | 8 ++++---- FFXIVClassic Map Server/common/Log.cs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/FFXIVClassic Lobby Server/common/Log.cs b/FFXIVClassic Lobby Server/common/Log.cs index c5bb6cf8..a5b6164a 100644 --- a/FFXIVClassic Lobby Server/common/Log.cs +++ b/FFXIVClassic Lobby Server/common/Log.cs @@ -47,11 +47,11 @@ namespace FFXIVClassic_Lobby_Server.common string timestamp = String.Format("[{0}]", DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss")); string messageType = String.Format("[{0}] ", type.ToString().ToUpper()); - Console.WriteLine(timestamp); + Console.Write(timestamp); Console.ForegroundColor = (ConsoleColor)type; Console.Write(messageType); - Console.ResetColor(); - Console.Write(message); + Console.ForegroundColor = ConsoleColor.Gray; + Console.WriteLine(message); StringBuilder sb = new StringBuilder(); @@ -69,4 +69,4 @@ namespace FFXIVClassic_Lobby_Server.common } } } -} +} \ No newline at end of file diff --git a/FFXIVClassic Map Server/common/Log.cs b/FFXIVClassic Map Server/common/Log.cs index 3379633f..dffaf372 100644 --- a/FFXIVClassic Map Server/common/Log.cs +++ b/FFXIVClassic Map Server/common/Log.cs @@ -47,11 +47,11 @@ namespace FFXIVClassic_Map_Server.common string timestamp = String.Format("[{0}]", DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss")); string messageType = String.Format("[{0}] ", type.ToString().ToUpper()); - Console.WriteLine(timestamp); + Console.Write(timestamp); Console.ForegroundColor = (ConsoleColor)type; Console.Write(messageType); - Console.ResetColor(); - Console.Write(message); + Console.ForegroundColor = ConsoleColor.Gray; + Console.WriteLine(message); StringBuilder sb = new StringBuilder(); @@ -69,4 +69,4 @@ namespace FFXIVClassic_Map_Server.common } } } -} +} \ No newline at end of file