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 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