OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::AbstractLogNotifier Class Referenceabstract

Used to receive every log message that is generated. More...

#include "Logger.h"

Inheritance diagram for ot::AbstractLogNotifier:
AppBase AppBase AppBase ot::ErrorWarningLogFrontendNotifier ot::LogNotifierFileWriter ot::LogNotifierStdCout ot::ServiceLogNotifier

Public Member Functions

 AbstractLogNotifier ()
 
virtual ~AbstractLogNotifier ()
 
void setDeleteLogNotifierLater (bool _deleteLater=true)
 Will set the delete later flag. If delete later is set, the creator keeps ownership of this object even after it is added to the LogDispatcher.
 
bool getDeleteLogNotifierLater (void) const
 Returns true if the delete later mode is set.
 
virtual void log (const LogMessage &_message)=0
 Called when the a log message was created.
 

Detailed Description

Used to receive every log message that is generated.

Constructor & Destructor Documentation

◆ AbstractLogNotifier()

ot::AbstractLogNotifier::AbstractLogNotifier ( )
inline

◆ ~AbstractLogNotifier()

virtual ot::AbstractLogNotifier::~AbstractLogNotifier ( )
inlinevirtual

Member Function Documentation

◆ getDeleteLogNotifierLater()

bool ot::AbstractLogNotifier::getDeleteLogNotifierLater ( void ) const
inline

Returns true if the delete later mode is set.

◆ log()

virtual void ot::AbstractLogNotifier::log ( const LogMessage & _message)
pure virtual

◆ setDeleteLogNotifierLater()

void ot::AbstractLogNotifier::setDeleteLogNotifierLater ( bool _deleteLater = true)
inline

Will set the delete later flag. If delete later is set, the creator keeps ownership of this object even after it is added to the LogDispatcher.


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