mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 12:47:46 +00:00
Fixed derp in Console output
This commit is contained in:
parent
1c712c7533
commit
33a52c4fa8
2 changed files with 8 additions and 8 deletions
|
@ -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();
|
||||||
|
|
||||||
|
@ -69,4 +69,4 @@ namespace FFXIVClassic_Lobby_Server.common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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();
|
||||||
|
|
||||||
|
@ -69,4 +69,4 @@ namespace FFXIVClassic_Map_Server.common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue