OpcUaCanOpen
CANopen OPC-UA server
UaTraceSink Class Reference

#include <UaTraceSink.h>

Inherits LogSinkInterface.

Public Member Functions

virtual bool initialize ()
 Expected to be called once on initialization. More...
 
virtual void logMessage (const std::string &msg)
 Expected to be called often, sends msg to logger backend. More...
 
- Public Member Functions inherited from LogSinkInterface
 LogSinkInterface ()
 
virtual ~LogSinkInterface ()
 

Detailed Description

Definition at line 30 of file UaTraceSink.h.

Member Function Documentation

◆ initialize()

bool UaTraceSink::initialize ( )
virtual

Expected to be called once on initialization.

returns true if initialization successful, otherwise false

Implements LogSinkInterface.

Definition at line 29 of file UaTraceSink.cpp.

◆ logMessage()

void UaTraceSink::logMessage ( const std::string &  msg)
virtual

Expected to be called often, sends msg to logger backend.

Implements LogSinkInterface.

Definition at line 36 of file UaTraceSink.cpp.


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