C# Класс Bricklayer.Server.Log

Logs messages to the console with many options, such as colors, prefixes, and in-built string.Format arguments
Показать файл Открыть проект

Открытые методы

Метод Описание
Write ( ConsoleColor color, string text ) : void

Writes text to the console with specified color

Write ( string text ) : void

Writes text to the console

WriteBreak ( ) : void

Writes a line break/new line to the console

WriteLine ( ConsoleColor color, string text ) : void

Writes text to the console on a new line, with a specified color

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

Writes text to the console on a new line, using the specified log prefix, and a color for the rest of the text

WriteLine ( LogType type, string text ) : void

Writes text to the console on a new line, using the specified log prefix

WriteLine ( string text ) : void

Writes text to the console on a new line

Описание методов

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

Writes text to the console with specified color
public static Write ( ConsoleColor color, string text ) : void
color ConsoleColor
text string
Результат void

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

Writes text to the console
public static Write ( string text ) : void
text string
Результат void

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

Writes a line break/new line to the console
public static WriteBreak ( ) : void
Результат void

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

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

Writes text to the console on a new line, using the specified log prefix, and a color for the rest of the text
public static WriteLine ( LogType type, ConsoleColor color, string text ) : void
type LogType
color ConsoleColor
text string
Результат void

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

Writes text to the console on a new line, using the specified log prefix
public static WriteLine ( LogType type, string text ) : void
type LogType
text string
Результат void

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

Writes text to the console on a new line
public static WriteLine ( string text ) : void
text string
Результат void