C# Класс BlueCollar.Console.ConsoleLogger

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Debug ( string format ) : void
Error ( Exception ex, string format ) : void
Info ( string format ) : void
Warn ( string format ) : void

Описание методов

ConsoleLogger() публичный Метод

Initializes a new instance of the ConsoleLogger class.
public ConsoleLogger ( InputOptions options ) : System
options InputOptions The parsed for the current execution context.
Результат System

Help() публичный Метод

Writes the help message to the console.
public Help ( ) : void
Результат void

InputError() публичный Метод

Writes an input error message to the console.
public InputError ( ) : void
Результат void

Log() публичный Метод

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.
Результат void