C# Class BlueCollar.Console.ConsoleLogger

Show file Open project: ChadBurggraf/blue-collar

Public Methods

Method 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

Method Description
Debug ( string format ) : void
Error ( Exception ex, string format ) : void
Info ( string format ) : void
Warn ( string format ) : void

Method Details

ConsoleLogger() public method

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

Help() public method

Writes the help message to the console.
public Help ( ) : void
return void

InputError() public method

Writes an input error message to the console.
public InputError ( ) : void
return void

Log() public method

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.
return void