mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
SWT: Added console color comments
This commit is contained in:
parent
8cf499e61e
commit
9f9957eafa
@ -6,6 +6,29 @@ namespace Mirror.SimpleWeb
|
|||||||
{
|
{
|
||||||
public static class Log
|
public static class Log
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// The.NET console color names map to the following approximate CSS color names:
|
||||||
|
|
||||||
|
// Black: Black
|
||||||
|
// Blue: Blue
|
||||||
|
// Cyan: Aqua or Cyan
|
||||||
|
// DarkBlue: DarkBlue
|
||||||
|
// DarkCyan: DarkCyan
|
||||||
|
// DarkGray: DarkGray
|
||||||
|
// DarkGreen: DarkGreen
|
||||||
|
// DarkMagenta: DarkMagenta
|
||||||
|
// DarkRed: DarkRed
|
||||||
|
// DarkYellow: DarkOrange or DarkGoldenRod
|
||||||
|
// Gray: Gray
|
||||||
|
// Green: Green
|
||||||
|
// Magenta: Magenta
|
||||||
|
// Red: Red
|
||||||
|
// White: White
|
||||||
|
// Yellow: Yellow
|
||||||
|
|
||||||
|
// We can't use colors that are close to white or black because
|
||||||
|
// they won't show up well in the server console or browser console
|
||||||
|
|
||||||
public enum Levels
|
public enum Levels
|
||||||
{
|
{
|
||||||
none = 0,
|
none = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user