33 Console.WriteLine(output);
38 #region ILogger Members
57 #region IDisposable Members
62 void IDisposable.Dispose()
Represents a logger that writes to the console window.
ConsoleLogger()
Constructor.
static ILogger CreateConsoleLogger()
Create an instance of a console logger, where logging goes to the console.
void _WriteLine(string logLevel, string msg)
Send a formatted line to the console.
Helper functions for all loggers.
static string FormatLogLine(string logLevel, string msg)
Format a line for logging, including time stamp.
Represents an implementation of a logger object as call from the Logger class.
void LogError(string msg)
Log error messages to the configured output.
void LogTrace(string msg)
Log trace messages to the configured output.
void LogInfo(string msg)
Log informational messages to the configured output.
The namespace containing all Design Pattern Examples implemented in C#.