mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Fixed derp in Console output
This commit is contained in:
parent
1c712c7533
commit
33a52c4fa8
@ -47,11 +47,11 @@ namespace FFXIVClassic_Lobby_Server.common
|
|||||||
string timestamp = String.Format("[{0}]", DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss"));
|
string timestamp = String.Format("[{0}]", DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss"));
|
||||||
string messageType = String.Format("[{0}] ", type.ToString().ToUpper());
|
string messageType = String.Format("[{0}] ", type.ToString().ToUpper());
|
||||||
|
|
||||||
Console.WriteLine(timestamp);
|
Console.Write(timestamp);
|
||||||
Console.ForegroundColor = (ConsoleColor)type;
|
Console.ForegroundColor = (ConsoleColor)type;
|
||||||
Console.Write(messageType);
|
Console.Write(messageType);
|
||||||
Console.ResetColor();
|
Console.ForegroundColor = ConsoleColor.Gray;
|
||||||
Console.Write(message);
|
Console.WriteLine(message);
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
|
@ -47,11 +47,11 @@ namespace FFXIVClassic_Map_Server.common
|
|||||||
string timestamp = String.Format("[{0}]", DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss"));
|
string timestamp = String.Format("[{0}]", DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss"));
|
||||||
string messageType = String.Format("[{0}] ", type.ToString().ToUpper());
|
string messageType = String.Format("[{0}] ", type.ToString().ToUpper());
|
||||||
|
|
||||||
Console.WriteLine(timestamp);
|
Console.Write(timestamp);
|
||||||
Console.ForegroundColor = (ConsoleColor)type;
|
Console.ForegroundColor = (ConsoleColor)type;
|
||||||
Console.Write(messageType);
|
Console.Write(messageType);
|
||||||
Console.ResetColor();
|
Console.ForegroundColor = ConsoleColor.Gray;
|
||||||
Console.Write(message);
|
Console.WriteLine(message);
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user