103 std::cerr <<
"\nERROR LOGGED WITHOUT DESTINATION!\n";
104 std::cerr <<
"Attaching destination \"cerr\" to ELadministrator by default\n" << std::endl;
181 sink->threshold = sev;
187 sink->limits.setLimit(
id, limit);
193 sink->limits.setInterval(sev, interval);
199 sink->limits.setInterval(
id, interval);
205 sink->limits.setLimit(sev, limit);
211 sink->limits.setTimespan(
id, seconds);
217 sink->limits.setTimespan(sev, seconds);
234 #ifdef ELadministratorCONSTRUCTOR_TRACE 235 std::cerr <<
"ELadminstrator constructor\n";
246 #ifdef ELadministratorCONSTRUCTOR_TRACE 247 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()