Mid GoF Patterns

Products (FileLogger, ConsoleLogger):?

  • The ILogger interface is implemented by the concrete classes FileLogger

and ConsoleLogger. These classes define how the log message will be

handled, either by writing to a file or outputting to the console.

More from Design Patterns in C#

All questions for this course