Design Pattern Examples
Overview of object-oriented design patterns
Bridge_LoggerInterface.cs
Go to the documentation of this file.
1
5
6using System;
7using System.Collections.Generic;
8using System.Linq;
9using System.Text;
10using System.Threading.Tasks;
11
13{
17 internal interface ILogger
18 {
23 void LogTrace(string msg);
24
29 void LogInfo(string msg);
30
35 void LogError(string msg);
36 }
37}
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#.