C# Class NArrange.Core.ConsoleLogger

Console logger.
Inheritance: ILogger
显示文件 Open project: MarcStan/NArrange

Public Methods

Method Description
LogMessage ( LogLevel level, string message ) : void

Logs a message to the console.

WriteMessage ( ConsoleColor color, string message ) : void

Writes a message to the console using the specified color.

Method Details

LogMessage() public method

Logs a message to the console.
public LogMessage ( LogLevel level, string message ) : void
level LogLevel Log level.
message string Log message.
return void

WriteMessage() public static method

Writes a message to the console using the specified color.
public static WriteMessage ( ConsoleColor color, string message ) : void
color ConsoleColor The color.
message string The message or format.
return void