ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Public Member Functions | List of all members
daq::EventLogObserverLogger Class Reference

A simple daq::ObservableEventLog observer that logs observed events to provided logger. More...

#include <eventLogObserver.hpp>

Public Member Functions

 EventLogObserverLogger (log4cplus::Logger logger)
 
void operator() (EventLog::EventType const &event) noexcept
 Observer callback that immediately logs the event. More...
 

Detailed Description

A simple daq::ObservableEventLog observer that logs observed events to provided logger.

Definition at line 22 of file eventLogObserver.hpp.

Constructor & Destructor Documentation

◆ EventLogObserverLogger()

daq::EventLogObserverLogger::EventLogObserverLogger ( log4cplus::Logger  logger)

Definition at line 19 of file eventLogObserver.cpp.

Member Function Documentation

◆ operator()()

void daq::EventLogObserverLogger::operator() ( EventLog::EventType const &  event)
noexcept

Observer callback that immediately logs the event.

Definition at line 26 of file eventLogObserver.cpp.


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