#include <ELstatistics.h>
Classes | |
struct | Config |
Public Types | |
using | Parameters = fhicl::WrappedTable< Config > |
Public Types inherited from mf::service::ELdestination | |
enum | flag_enum { NO_LINE_BREAKS, TIMESTAMP, MILLISECOND, MODULE, SUBROUTINE, TEXT, SOME_CONTEXT, SERIAL, FULL_CONTEXT, TIME_SEPARATE, EPILOGUE_SEPARATE, NFLAGS } |
Public Member Functions | |
~ELstatistics () | |
ELstatistics (Parameters const &, std::ostream &) | |
ELstatistics (Config const &, cet::ostream_handle &&) | |
ELstatistics (ELstatistics const &)=delete | |
ELstatistics (ELstatistics &&)=delete | |
ELstatistics & | operator= (ELstatistics const &)=delete |
ELstatistics & | operator= (ELstatistics &&)=delete |
Public Member Functions inherited from mf::service::ELdestination | |
virtual | ~ELdestination () noexcept=default |
ELdestination (Config const &) | |
ELdestination (ELdestination const &)=delete | |
ELdestination (ELdestination &&)=delete | |
ELdestination & | operator= (ELdestination const &)=delete |
ELdestination & | operator= (ELdestination &&)=delete |
void | setThreshold (ELseverityLevel sv) |
virtual void | finish () |
Private Member Functions | |
void | log (mf::ErrorObj &) override |
void | summary () override |
Private Attributes | |
cet::ostream_handle | osh_ |
Additional Inherited Members | |
Protected Member Functions inherited from mf::service::ELdestination | |
std::string | summarizeContext (std::string const &) |
void | emitToken (std::ostream &os, std::string const &s, bool nl=false, bool preambleMode=false) |
std::string | formSummary () |
bool | skipMsg (ELextendedID const &) |
void | resetLimiters () |
void | resetMsgCounters () |
virtual void | fillPrefix (std::ostringstream &, mf::ErrorObj const &msg) |
virtual void | fillUsrMsg (std::ostringstream &, mf::ErrorObj const &msg) |
virtual void | fillSuffix (std::ostringstream &, mf::ErrorObj const &msg) |
virtual void | routePayload (std::ostringstream const &, mf::ErrorObj const &msg) |
virtual void | flush () |
Protected Attributes inherited from mf::service::ELdestination | |
ELseverityLevel | threshold_ |
MsgFormatSettings | format_ |
int | defaultLimit_ |
int | defaultReportEvery_ |
int | defaultTimespan_ |
std::map< std::string const, CategoryParams > | categoryParams_ |
std::map< ELextendedID const, XidLimiter > | xidLimiters_ |
std::map< ELextendedID const, StatsCount > | statsMap_ |
bool | outputStatistics_ {false} |
bool | updatedStats_ {false} |
bool | reset_ {false} |
Definition at line 12 of file ELstatistics.h.
Definition at line 17 of file ELstatistics.h.
|
default |
mf::service::ELstatistics::ELstatistics | ( | Parameters const & | pset, |
std::ostream & | osp | ||
) |
Definition at line 14 of file ELstatistics.cc.
mf::service::ELstatistics::ELstatistics | ( | Config const & | config, |
cet::ostream_handle && | osh | ||
) |
Definition at line 10 of file ELstatistics.cc.
|
delete |
|
delete |
|
overrideprivatevirtual |
Reimplemented from mf::service::ELdestination.
Definition at line 19 of file ELstatistics.cc.
|
delete |
|
delete |
|
overrideprivatevirtual |
|
private |
Definition at line 34 of file ELstatistics.h.