OpcUaCanOpen
CANopen OPC-UA server
StdOutLog Class Reference

#include <StdOutLog.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 28 of file StdOutLog.h.

Member Function Documentation

◆ initialize()

bool StdOutLog::initialize ( )
virtual

Expected to be called once on initialization.

returns true if initialization successful, otherwise false

Implements LogSinkInterface.

Definition at line 28 of file StdOutLog.cpp.

◆ logMessage()

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

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

Implements LogSinkInterface.

Definition at line 34 of file StdOutLog.cpp.


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