C# Class DotNetMigrations.Loggers.ConsoleLog

Inheritance: LoggerBase
Afficher le fichier Open project: jpoehls/dotnetmigrations

Méthodes publiques

Méthode 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 méthode

public ConsoleLog ( ) : System
Résultat System

Write() public méthode

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
Résultat void

WriteError() public méthode

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

WriteLine() public méthode

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

WriteWarning() public méthode

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