C# Class StatLight.Core.Common.Logging.ConsoleLogger

Inheritance: LoggerBase
ファイルを表示 Open project: staxmanade/StatLight

Public Methods

Method Description
ConsoleLogger ( ) : System
ConsoleLogger ( LogChatterLevels logChatterLevel ) : System
ConsoleLogger ( LogChatterLevels logChatterLevel, Settings settings ) : System
Debug ( string message ) : void
Debug ( string message, bool writeNewLine ) : void
Error ( string message ) : void
Information ( string message ) : void
Warning ( string message ) : void

Private Methods

Method Description
WrapMessageWithColor ( string message, ConsoleColor color, bool useNewLine ) : void

Method Details

ConsoleLogger() public method

public ConsoleLogger ( ) : System
return System

ConsoleLogger() public method

public ConsoleLogger ( LogChatterLevels logChatterLevel ) : System
logChatterLevel LogChatterLevels
return System

ConsoleLogger() public method

public ConsoleLogger ( LogChatterLevels logChatterLevel, Settings settings ) : System
logChatterLevel LogChatterLevels
settings StatLight.Core.Properties.Settings
return System

Debug() public method

public Debug ( string message ) : void
message string
return void

Debug() public method

public Debug ( string message, bool writeNewLine ) : void
message string
writeNewLine bool
return void

Error() public method

public Error ( string message ) : void
message string
return void

Information() public method

public Information ( string message ) : void
message string
return void

Warning() public method

public Warning ( string message ) : void
message string
return void