1 #ifndef messagefacility_MessageService_ELdestination_h 2 #define messagefacility_MessageService_ELdestination_h 5 #include "cetlib/PluginTypeDeducer.h" 94 void add(std::string
const& context,
bool reactedTo);
98 bool ignoredFlag_{
false};
99 std::string context1_{};
100 std::string context2_{};
101 std::string contextLast_{};
134 std::string timestamp(timeval
const&);
144 std::string timeFmt_{};
228 std::
string const&
s,
230 bool preambleMode = false);
252 mf::ErrorObj const& msg);
255 virtual
void flush();
282 struct PluginTypeDeducer<
mf::service::ELdestination> {
fhicl::Table< MsgFormatSettings::Config > format
virtual void fillUsrMsg(std::ostringstream &, mf::ErrorObj const &msg)
bool skipMsg(ELextendedID const &)
static std::string limit_comment()
static std::string const value
fhicl::TableFragment< MsgStatistics::Config > msgStatistics
void emitToken(std::ostream &os, std::string const &s, bool nl=false, bool preambleMode=false)
ELdestination & operator=(ELdestination const &)=delete
fhicl::OptionalDelegatedParameter categories
virtual void fillSuffix(std::ostringstream &, mf::ErrorObj const &msg)
std::map< std::string const, CategoryParams > categoryParams_
virtual void log(mf::ErrorObj &)
fhicl::Atom< int > timespan
fhicl::Atom< std::string > dest_type
static std::string timespan_comment()
fhicl::Atom< std::string > threshold
fhicl::Atom< int > reportEvery
std::map< ELextendedID const, StatsCount > statsMap_
std::string summarizeContext(std::string const &)
static std::string reportEvery_comment()
ELseverityLevel threshold_
fhicl::Atom< bool > outputStatistics
std::string formSummary()
virtual ~ELdestination() noexcept=default
virtual void fillPrefix(std::ostringstream &, mf::ErrorObj const &msg)
MsgFormatSettings format_
void setThreshold(ELseverityLevel sv)
std::map< ELextendedID const, XidLimiter > xidLimiters_
time_t previousTimestamp_
std::string nl(std::size_t i=1)
virtual void routePayload(std::ostringstream const &, mf::ErrorObj const &msg)