C# Class ReviewNotifier.Program.Logger

A class that logs to the console, and potentially to a file.
Inheritance: ILog
Datei anzeigen Open project: daptiv/Malevich

Public Methods

Method Description
Close ( ) : void

Closes the writer.

Log ( string format ) : void

Writes an output to a console, and if configured, to a file.

Logger ( string fileName ) : System

Creates an instance of the Logger class.

Method Details

Close() public method

Closes the writer.
public Close ( ) : void
return void

Log() public method

Writes an output to a console, and if configured, to a file.
public Log ( string format ) : void
format string Format string.
return void

Logger() public method

Creates an instance of the Logger class.
public Logger ( string fileName ) : System
fileName string
return System