RTXI 3.0.0 The Real-Time eXperiment Interface Reference Manual |
#include <logger.hpp>
Public Member Functions | |
void | log (Event::Object *event) |
void | log (RT::Telemitry::Response response) |
Class responsible for logging all events and telemitry
Definition at line 14 of file logger.hpp.
void eventLogger::log | ( | Event::Object * | event | ) |
Log the fired event in human readable format
The log function will take the pointer to the event object and send to standard output a string describing the event in human readable format. It will prepend information like the current local time and type of event fired. Unknown event types will be marked is type UNKNOWN and printed. It is thread safe.
event | A pointer to the fired event |
Definition at line 12 of file logger.cpp.
void eventLogger::log | ( | RT::Telemitry::Response | response | ) |
Log the fired telemitry in human readable format
The log function will take the pointer to the telemitry object and send to standard output a string describing the event in human readable format. It will prepend information like the current local time and type of telemitry fired. It is thread safe.
event | A pointer to the fired telemitry |
Definition at line 104 of file logger.cpp.