C# Class Infrastructure.ConsoleWindowLogger

An logger implementation which prints our loggs to the console window.
Inheritance: ILog
Afficher le fichier Open project: AdrianFreemantle/DDD

Méthodes publiques

Méthode Description
ConsoleWindowLogger ( Type typeToLog ) : System
Debug ( string message ) : void
Error ( string message ) : void
Fatal ( string message ) : void
FormatMessage ( string message, Type typeToLog ) : string
Info ( string message ) : void
Verbose ( string message ) : void
Warn ( string message ) : void

Private Methods

Méthode Description
Log ( ConsoleColor color, string message ) : void

Method Details

ConsoleWindowLogger() public méthode

public ConsoleWindowLogger ( Type typeToLog ) : System
typeToLog System.Type
Résultat System

Debug() public méthode

public Debug ( string message ) : void
message string
Résultat void

Error() public méthode

public Error ( string message ) : void
message string
Résultat void

Fatal() public méthode

public Fatal ( string message ) : void
message string
Résultat void

FormatMessage() public static méthode

public static FormatMessage ( string message, Type typeToLog ) : string
message string
typeToLog System.Type
Résultat string

Info() public méthode

public Info ( string message ) : void
message string
Résultat void

Verbose() public méthode

public Verbose ( string message ) : void
message string
Résultat void

Warn() public méthode

public Warn ( string message ) : void
message string
Résultat void