artdaq_mfextensions  v1_05_00
mfplugins::ELTRACE Class Reference

Message Facility destination which logs messages to a TRACE buffer More...

Inheritance diagram for mfplugins::ELTRACE:

Classes

struct  Config
 Configuration Parameters for ELTRACE. More...
 

Public Types

using Parameters = fhicl::WrappedTable< Config >
 Used for ParameterSet validation.
 

Public Member Functions

 ELTRACE (Parameters const &pset)
 ELTRACE Constructor More...
 
void fillPrefix (std::ostringstream &o, const ErrorObj &msg) override
 Fill the "Prefix" portion of the message. More...
 
void fillUsrMsg (std::ostringstream &o, const ErrorObj &msg) override
 Fill the "User Message" portion of the message. More...
 
void fillSuffix (std::ostringstream &, const ErrorObj &) override
 Fill the "Suffix" portion of the message (Unused)
 
void routePayload (const std::ostringstream &o, const ErrorObj &msg) override
 Serialize a MessageFacility message to the output. More...
 

Detailed Description

Message Facility destination which logs messages to a TRACE buffer

Definition at line 31 of file TRACE_mfPlugin.cc.

Constructor & Destructor Documentation

mfplugins::ELTRACE::ELTRACE ( Parameters const &  pset)

ELTRACE Constructor

Parameters
psetParameterSet used to configure ELTRACE

Definition at line 92 of file TRACE_mfPlugin.cc.

Member Function Documentation

void mfplugins::ELTRACE::fillPrefix ( std::ostringstream &  o,
const ErrorObj &  msg 
)
override

Fill the "Prefix" portion of the message.

Parameters
oOutput stringstream
eMessageFacility object containing header information

Definition at line 114 of file TRACE_mfPlugin.cc.

void mfplugins::ELTRACE::fillUsrMsg ( std::ostringstream &  o,
const ErrorObj &  msg 
)
override

Fill the "User Message" portion of the message.

Parameters
oOutput stringstream
eMessageFacility object containing header information

Definition at line 127 of file TRACE_mfPlugin.cc.

void mfplugins::ELTRACE::routePayload ( const std::ostringstream &  o,
const ErrorObj &  msg 
)
override

Serialize a MessageFacility message to the output.

Parameters
oStringstream object containing message data
eMessageFacility object containing header information

Definition at line 141 of file TRACE_mfPlugin.cc.


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