FileLogger

FileLogger class

Writes log messages to the file.

public class FileLogger : ILogger

Constructors

Name Description
FileLogger(string) Create logger to file.

Methods

Name Description
Error(string, Exception) Writes an error message to the console. Error log messages provide information about unrecoverable events in application flow.
Trace(string) Writes a trace message to the console. Trace log messages provide generally useful information about application flow.
Warning(string) Writes a warning message to the console. Warning log messages provide information about unexpected and recoverable events in application flow.

See Also