API  4.5
For C++ developers
OpenSim::LogSink Class Referenceabstract

Derive from this class to implement your own way of reporting logged messages. More...

+ Inheritance diagram for OpenSim::LogSink:

Public Member Functions

virtual ~LogSink ()=default
 

Protected Member Functions

virtual void sinkImpl (const std::string &msg)=0
 This function is invoked whenever a message is logged at the desired Log::Level. More...
 
virtual void flushImpl ()
 

Detailed Description

Derive from this class to implement your own way of reporting logged messages.

Constructor & Destructor Documentation

◆ ~LogSink()

virtual OpenSim::LogSink::~LogSink ( )
virtualdefault

Member Function Documentation

◆ flushImpl()

virtual void OpenSim::LogSink::flushImpl ( )
inlineprotectedvirtual

◆ sinkImpl()

virtual void OpenSim::LogSink::sinkImpl ( const std::string &  msg)
protectedpure virtual

This function is invoked whenever a message is logged at the desired Log::Level.

Implemented in OpenSim::StringLogSink.


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