Design Pattern Examples
Overview of object-oriented design patterns
ILogger Interface Reference

Represents an implementation of a logger object as call from the Logger class. More...

Inheritance diagram for ILogger:
Inheritance graph
Collaboration diagram for ILogger:
Collaboration graph

Public Member Functions

void LogTrace (string msg)
 Log trace messages to the configured output.
 
void LogInfo (string msg)
 Log informational messages to the configured output.
 
void LogError (string msg)
 Log error messages to the configured output.
 

Detailed Description

Represents an implementation of a logger object as call from the Logger class.

Definition at line 17 of file Bridge_LoggerInterface.cs.

Member Function Documentation

◆ LogError()

void LogError ( string  msg)

Log error messages to the configured output.

Parameters
msgThe message to log.

Implemented in ConsoleLogger, FileLogger, and NullLogger.

Referenced by Logger.LogError().

◆ LogInfo()

void LogInfo ( string  msg)

Log informational messages to the configured output.

Parameters
msgThe message to log.

Implemented in ConsoleLogger, FileLogger, and NullLogger.

Referenced by Logger.LogInfo().

◆ LogTrace()

void LogTrace ( string  msg)

Log trace messages to the configured output.

Parameters
msgThe message to log.

Implemented in ConsoleLogger, FileLogger, and NullLogger.

Referenced by Logger.LogTrace().


The documentation for this interface was generated from the following file: