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 trace message to the console. Trace log messages provide generally useful information about application flow.
Warning(string) Writes warning message to the console; Warning log messages provide information about the unexpected and recoverable event in application flow.

See Also