Bricklayer.Server.Log.WriteLine C# (CSharp) Метод

WriteLine() публичный статический Метод

Writes text to the console on a new line, with a specified color
public static WriteLine ( ConsoleColor color, string text ) : void
color ConsoleColor
text string
Результат void
        public static void WriteLine(ConsoleColor color, string text)
        {
            Console.ForegroundColor = color;
            Console.WriteLine(text);
            Console.ForegroundColor = ConsoleColor.White;
        }

Same methods

Log::WriteLine ( LogType type, ConsoleColor color, string text ) : void
Log::WriteLine ( LogType type, string text ) : void
Log::WriteLine ( string text ) : void