C# Class BlueCollar.Console.ConsoleLogger

Afficher le fichier Open project: ChadBurggraf/blue-collar

Méthodes publiques

Méthode Description
ConsoleLogger ( InputOptions options ) : System

Initializes a new instance of the ConsoleLogger class.

Help ( ) : void

Writes the help message to the console.

InputError ( ) : void

Writes an input error message to the console.

Log ( EventLoggerEventArgs e ) : void

Logs an event from an EventErrorLogger to the file log, plus to the console if in verbose mode.

Private Methods

Méthode Description
Debug ( string format ) : void
Error ( Exception ex, string format ) : void
Info ( string format ) : void
Warn ( string format ) : void

Method Details

ConsoleLogger() public méthode

Initializes a new instance of the ConsoleLogger class.
public ConsoleLogger ( InputOptions options ) : System
options InputOptions The parsed for the current execution context.
Résultat System

Help() public méthode

Writes the help message to the console.
public Help ( ) : void
Résultat void

InputError() public méthode

Writes an input error message to the console.
public InputError ( ) : void
Résultat void

Log() public méthode

Logs an event from an EventErrorLogger to the file log, plus to the console if in verbose mode.
public Log ( EventLoggerEventArgs e ) : void
e EventLoggerEventArgs The event arguments.
Résultat void