ConsoleLogger

ConsoleLogger class

Writes log messages to the console.

public class ConsoleLogger : ILogger

Constructors

Name Description
ConsoleLogger() The default constructor.

Methods

Name Description
Error(string, Exception) Writes error log message; Error log messages provides information about unrecoverable events in application flow.
Trace(string) Writes trace log message; Trace log messages provides generally useful information about application flow.
Warning(string) Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow.

See Also