Design Pattern Examples
Overview of object-oriented design patterns
ILogger Struct Referenceabstract

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

#include <Bridge_LoggerInterface.h>

Collaboration diagram for ILogger:
Collaboration graph

Public Member Functions

virtual ~ILogger ()
 
virtual void LogTrace (const std::string &msg)=0
 Log trace messages to the configured output.
 
virtual void LogInfo (const std::string &msg)=0
 Log informational messages to the configured output.
 
virtual void LogError (const std::string &msg)=0
 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.h.

Constructor & Destructor Documentation

◆ ~ILogger()

virtual ~ILogger ( )
inlinevirtual

Definition at line 19 of file Bridge_LoggerInterface.h.

Member Function Documentation

◆ LogError()

virtual void LogError ( const std::string &  msg)
pure virtual

Log error messages to the configured output.

Parameters
msgThe message to log.

◆ LogInfo()

virtual void LogInfo ( const std::string &  msg)
pure virtual

Log informational messages to the configured output.

Parameters
msgThe message to log.

◆ LogTrace()

virtual void LogTrace ( const std::string &  msg)
pure virtual

Log trace messages to the configured output.

Parameters
msgThe message to log.

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