ConsoleLogger

ConsoleLogger class

Writes log messages to the file.

public class ConsoleLogger : ILogger

Constructors

Name Description
ConsoleLogger() Create logger to console.

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