C# Класс DotNetMigrations.Loggers.ConsoleLog

Наследование: LoggerBase
Показать файл Открыть проект

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

Метод Описание
ConsoleLog ( ) : System
Write ( string message ) : void

Writes output to the console. Intelligently wraps text to fit the console's remaining line buffer, aligning wrapped lines to the current cursor position.

WriteError ( string message ) : void

Writes a line of red text to the console window.

WriteLine ( string message ) : void

Writes a line of text to the console window.

WriteWarning ( string message ) : void

Writes a line of yellow text to the console window.

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

ConsoleLog() публичный Метод

public ConsoleLog ( ) : System
Результат System

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

Writes output to the console. Intelligently wraps text to fit the console's remaining line buffer, aligning wrapped lines to the current cursor position.
public Write ( string message ) : void
message string
Результат void

WriteError() публичный Метод

Writes a line of red text to the console window.
public WriteError ( string message ) : void
message string The message to write.
Результат void

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

Writes a line of text to the console window.
public WriteLine ( string message ) : void
message string The message to write.
Результат void

WriteWarning() публичный Метод

Writes a line of yellow text to the console window.
public WriteWarning ( string message ) : void
message string The message to write.
Результат void