RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
Public Member Functions
eventLogger Class Reference

#include <logger.hpp>

Collaboration diagram for eventLogger:
Collaboration graph

Public Member Functions

void log (Event::Object *event)
 
void log (RT::Telemitry::Response response)
 

Detailed Description

Class responsible for logging all events and telemitry

Definition at line 14 of file logger.hpp.

Member Function Documentation

◆ log() [1/2]

void eventLogger::log(Event::Objectevent)

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.

Parameters
eventA pointer to the fired event

Definition at line 12 of file logger.cpp.

Here is the call graph for this function:

◆ log() [2/2]

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.

Parameters
eventA pointer to the fired telemitry

Definition at line 104 of file logger.cpp.

Here is the call graph for this function:

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