OpcUaCanOpen
CANopen OPC-UA server
|
#include <LogSinkInterface.h>
Inherited by BoostRotatingFileLog, StdOutLog, and UaTraceSink.
Public Member Functions | |
LogSinkInterface () | |
virtual | ~LogSinkInterface () |
virtual bool | initialize ()=0 |
Expected to be called once on initialization. More... | |
virtual void | logMessage (const std::string &msg)=0 |
Expected to be called often, sends msg to logger backend. More... | |
Definition at line 27 of file LogSinkInterface.h.
|
inline |
Definition at line 30 of file LogSinkInterface.h.
|
inlinevirtual |
Definition at line 31 of file LogSinkInterface.h.
|
pure virtual |
Expected to be called once on initialization.
returns true if initialization successful, otherwise false
Implemented in UaTraceSink, BoostRotatingFileLog, and StdOutLog.
|
pure virtual |
Expected to be called often, sends msg to logger backend.
Implemented in UaTraceSink, BoostRotatingFileLog, and StdOutLog.