ConsoleLogger class

Writes log messages to the console.

public class ConsoleLogger : ILogger


Name Description
ConsoleLogger() The default constructor.


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