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

See Also