C# Class DotNetMigrations.Loggers.ConsoleLog

Inheritance: LoggerBase
显示文件 Open project: jpoehls/dotnetmigrations

Public Methods

Method Description
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.

Method Details

ConsoleLog() public method

public ConsoleLog ( ) : System
return System

Write() public method

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
return void

WriteError() public method

Writes a line of red text to the console window.
public WriteError ( string message ) : void
message string The message to write.
return void

WriteLine() public method

Writes a line of text to the console window.
public WriteLine ( string message ) : void
message string The message to write.
return void

WriteWarning() public method

Writes a line of yellow text to the console window.
public WriteWarning ( string message ) : void
message string The message to write.
return void