109 std::cerr <<
"\nERROR LOGGED WITHOUT DESTINATION!\n";
110 std::cerr <<
"Attaching destination \"cerr\" to ELadministrator by default\n" 115 if ( sink->log( msg ) )
129 std::shared_ptr<ELdestination>
dest(sink.
clone());
137 std::shared_ptr<ELdestination>
dest(sink.
clone());
225 sink->threshold = sev;
233 sink->limits.setLimit(
id, limit );
242 sink->limits.setInterval( sev, interval );
249 sink->limits.setInterval(
id, interval );
257 sink->limits.setLimit( sev, limit );
265 sink->limits.setTimespan(
id, seconds );
273 sink->limits.setTimespan( sev, seconds );
298 #ifdef ELadministratorCONSTRUCTOR_TRACE 299 std::cerr <<
"ELadminstrator constructor\n";
312 #ifdef ELadministratorCONSTRUCTOR_TRACE 313 std::cerr <<
"ELadministrator Destructor\n";
const ELseverityLevel & highSeverity() const
void log(edm::ErrorObj &msg)
int severityCounts_[ELseverityLevel::nLevels]
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)
virtual ELdestination * clone() const =0
std::list< edm::propagate_const< std::shared_ptr< ELdestination > > > sinks_
int severityCounts(int lev) const
int severityCount(const ELseverityLevel &sev) const
ELdestControl attach(const ELdestination &sink)
ELseverityLevel checkSeverity()
std::map< ELstring, edm::propagate_const< std::shared_ptr< ELdestination > > > attachedDestinations_