Switchboard SDK
Loading...
Searching...
No Matches
switchboard::LogDestination Class Referenceabstract

Provides an interface to implement platform-specific logging. More...

#include <LogDestination.hpp>

Inheritance diagram for switchboard::LogDestination:
switchboard::ConsoleLogDestination

Public Member Functions

virtual ~LogDestination ()
 LogDestination destructor.
 
virtual void log (const LogLevel logLevel, const std::string &logMessage)=0
 Logs a log message.
 

Detailed Description

Provides an interface to implement platform-specific logging.

LogDestination abstract class.

Designed to be subclassed.

Member Function Documentation

◆ log()

virtual void switchboard::LogDestination::log ( const LogLevel logLevel,
const std::string & logMessage )
pure virtual

Logs a log message.

Parameters
logLevelThe log level.
logMessageThe log message.