109 std::cerr <<
"\nERROR LOGGED WITHOUT DESTINATION!\n";
110 std::cerr <<
"Attaching destination \"cerr\" to ELadministrator by default\n" 115 if ( sink->log( msg ) )
215 sink->threshold = sev;
223 sink->limits.setLimit(
id, limit );
232 sink->limits.setInterval( sev, interval );
239 sink->limits.setInterval(
id, interval );
247 sink->limits.setLimit( sev, limit );
255 sink->limits.setTimespan(
id, seconds );
263 sink->limits.setTimespan( sev, seconds );
288 #ifdef ELadministratorCONSTRUCTOR_TRACE 289 std::cerr <<
"ELadminstrator constructor\n";
302 #ifdef ELadministratorCONSTRUCTOR_TRACE 303 std::cerr <<
"ELadministrator Destructor\n";
const ELseverityLevel & highSeverity() const
void log(edm::ErrorObj &msg)
int severityCounts_[ELseverityLevel::nLevels]
std::shared_ptr< ELdestination > attach(std::shared_ptr< ELdestination > sink)
void setThresholds(const ELseverityLevel &sev)
ELslProxy< ELhighestSeverityGen > const ELhighestSeverity
void setIntervals(const ELstring &id, int interval)
void resetSeverityCount()
void setLimits(const ELstring &id, int limit)
virtual void setReactedTo(bool r)
const ELextendedID & xid() const
ELslProxy< ELzeroSeverityGen > const ELzeroSeverity
ELseverityLevel highSeverity_
void setTimespans(const ELstring &id, int seconds)
std::list< edm::propagate_const< std::shared_ptr< ELdestination > > > sinks_
int severityCounts(int lev) const
int severityCount(const ELseverityLevel &sev) const
ELseverityLevel checkSeverity()