C# Class ReviewNotifier.Program.Logger

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

Méthodes publiques

Méthode 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 méthode

Closes the writer.
public Close ( ) : void
Résultat void

Log() public méthode

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

Logger() public méthode

Creates an instance of the Logger class.
public Logger ( string fileName ) : System
fileName string
Résultat System