OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::ServiceLogNotifier Class Reference

#include "ServiceLogNotifier.h"

Inheritance diagram for ot::ServiceLogNotifier:
ot::AbstractLogNotifier

Public Member Functions

void setLoggingServiceURL (const std::string &_url)
 
const std::string & loggingServiceURL (void) const
 
void log (const LogMessage &_message)
 Called when the a log message was created.
 
- Public Member Functions inherited from ot::AbstractLogNotifier
 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.
 

Static Public Member Functions

static ServiceLogNotifierinstance (void)
 
static ServiceLogNotifierinitialize (const std::string &_serviceName, const std::string &_loggingServiceUrl, bool _addCoutReceiver=false)
 

Private Member Functions

virtual ~ServiceLogNotifier ()
 

Member Function Documentation

◆ initialize()

ot::ServiceLogNotifier::initialize ( const std::string & _serviceName,
const std::string & _loggingServiceUrl,
bool _addCoutReceiver = false )
static

◆ instance()

ot::ServiceLogNotifier & ot::ServiceLogNotifier::instance ( void )
static

◆ log()

void ot::ServiceLogNotifier::log ( const LogMessage & _message)
virtual

Called when the a log message was created.

Implements ot::AbstractLogNotifier.

◆ loggingServiceURL()

const std::string & ot::ServiceLogNotifier::loggingServiceURL ( void ) const
inline

◆ setLoggingServiceURL()

void ot::ServiceLogNotifier::setLoggingServiceURL ( const std::string & _url)

◆ ~ServiceLogNotifier()

ot::ServiceLogNotifier::~ServiceLogNotifier ( )
privatevirtual

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