#include <ELadministrator.h>
Static Public Member Functions | |
static ELadministrator * | instance () |
Protected Member Functions | |
const ELseverityLevel & | abortThreshold () const |
void | clearMsg () |
ELcontextSupplier & | context () const |
ELadministrator () | |
const ELseverityLevel & | exitThreshold () const |
void | finishMsg () |
const ELseverityLevel & | highSeverity () const |
const ELstring & | process () const |
int | severityCounts (int lev) const |
std::list< boost::shared_ptr < ELdestination > > & | sinks () |
virtual | ~ELadministrator () |
Private Attributes | |
ELseverityLevel | abortThreshold_ |
std::map< ELstring, boost::shared_ptr < ELdestination > > | attachedDestinations |
boost::shared_ptr < ELcontextSupplier > | context_ |
ELseverityLevel | exitThreshold_ |
ELseverityLevel | highSeverity_ |
edm::ErrorObj | msg |
bool | msgIsActive |
ELstring | process_ |
int | severityCounts_ [ELseverityLevel::nLevels] |
std::list< boost::shared_ptr < ELdestination > > | sinks_ |
Static Private Attributes | |
static ELadministrator * | instance_ = 0 |
Friends | |
class | ELadminDestroyer |
class | ELcout |
class | ELtsErrorLog |
class | ErrorLog |
Definition at line 81 of file ELadministrator.h.
|
protected |
Definition at line 501 of file ELadministrator.cc.
References dtNoiseDBValidation_cfg::cerr, edm::ELseverityLevel::nLevels, and severityCounts_.
Referenced by instance().
|
protectedvirtual |
Definition at line 543 of file ELadministrator.cc.
References dtNoiseDBValidation_cfg::cerr, finishMsg(), and sinks().
|
protected |
Definition at line 256 of file ELadministrator.cc.
References abortThreshold_.
Referenced by edm::service::ELtsErrorLog::dispatch(), finishMsg(), and edm::service::ErrorLog::operator()().
ELdestControl edm::service::ELadministrator::attach | ( | const ELdestination & | sink | ) |
Definition at line 162 of file ELadministrator.cc.
References edm::service::ELdestination::clone(), alignCSCRings::dest, and sinks().
Referenced by edm::service::MessageLoggerScribe::configure_external_dests(), edm::service::MessageLoggerScribe::configure_fwkJobReports(), edm::service::MessageLoggerScribe::configure_ordinary_destinations(), edm::service::MessageLoggerScribe::configure_statistics(), edm::service::ELtsErrorLog::dispatch(), and edm::service::ErrorLog::operator()().
ELdestControl edm::service::ELadministrator::attach | ( | const ELdestination & | sink, |
const ELstring & | name | ||
) |
Definition at line 170 of file ELadministrator.cc.
References attachedDestinations, edm::service::ELdestination::clone(), alignCSCRings::dest, mergeVDriftHistosByStation::name, and sinks().
ELseverityLevel edm::service::ELadministrator::checkSeverity | ( | ) |
Definition at line 191 of file ELadministrator.cc.
References edm::ELzeroSeverity, and highSeverity_.
|
protected |
Definition at line 359 of file ELadministrator.cc.
References edm::ErrorObj::clear(), msg, and msgIsActive.
Referenced by edm::service::ErrorLog::endmsg().
|
protected |
Definition at line 253 of file ELadministrator.cc.
References context_.
|
protected |
Definition at line 260 of file ELadministrator.cc.
References exitThreshold_.
Referenced by finishMsg(), and edm::service::ErrorLog::operator()().
void edm::service::ELadministrator::finish | ( | ) |
Definition at line 442 of file ELadministrator.cc.
References begin, and sinks().
Referenced by progressbar.ProgressBar::__next__(), and edm::service::MessageLoggerScribe::~MessageLoggerScribe().
|
protected |
Definition at line 306 of file ELadministrator.cc.
References abortThreshold(), begin, dtNoiseDBValidation_cfg::cerr, context_, alignCSCRings::dest, end, exitThreshold(), edm::ELseverityLevel::getLevel(), highSeverity_, msg, msgIsActive, edm::service::possiblyAbortOrExit(), edm::ErrorObj::setReactedTo(), edm::ELextendedID::severity, severityCounts_, sinks(), and edm::ErrorObj::xid().
Referenced by edm::service::ErrorLog::endmsg(), and ~ELadministrator().
const ELcontextSupplier & edm::service::ELadministrator::getContextSupplier | ( | ) | const |
Definition at line 136 of file ELadministrator.cc.
References context_.
Referenced by edm::ELlog4cplus::log(), edm::service::ELoutput::log(), edm::service::ELstatistics::log(), and edm::service::MessageLoggerScribe::log().
bool edm::service::ELadministrator::getELdestControl | ( | const ELstring & | name, |
ELdestControl & | theControl | ||
) |
Definition at line 179 of file ELadministrator.cc.
References attachedDestinations.
Referenced by edm::service::ELtsErrorLog::getELdestControl(), and edm::service::ErrorLog::getELdestControl().
|
protected |
Definition at line 267 of file ELadministrator.cc.
References highSeverity_.
|
static |
Definition at line 485 of file ELadministrator.cc.
References ELadministrator(), instance_, and edm::service::ELadminDestroyer::setELadmin().
Referenced by edm::service::ELrecv(), edm::service::ELerrorList::log(), edm::service::ELoutput::log(), edm::ELlog4cplus::log(), edm::service::ELstatistics::log(), and edm::service::ELcollected::log().
|
protected |
Definition at line 250 of file ELadministrator.cc.
References process_.
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), edm::service::ErrorLog::operator()(), setProcess(), and swapProcess().
void edm::service::ELadministrator::resetSeverityCount | ( | const ELseverityLevel & | sev | ) |
Definition at line 223 of file ELadministrator.cc.
References edm::ELseverityLevel::getLevel(), and severityCounts_.
void edm::service::ELadministrator::resetSeverityCount | ( | const ELseverityLevel & | from, |
const ELseverityLevel & | to | ||
) |
Definition at line 230 of file ELadministrator.cc.
References edm::ELseverityLevel::getLevel(), gen::k, and severityCounts_.
void edm::service::ELadministrator::resetSeverityCount | ( | ) |
Definition at line 239 of file ELadministrator.cc.
References edm::ELhighestSeverity, and edm::ELzeroSeverity.
void edm::service::ELadministrator::setAbortThreshold | ( | const ELseverityLevel & | sev | ) |
Definition at line 150 of file ELadministrator.cc.
References abortThreshold_.
void edm::service::ELadministrator::setContextSupplier | ( | const ELcontextSupplier & | supplier | ) |
Definition at line 129 of file ELadministrator.cc.
References edm::service::ELcontextSupplier::clone(), and context_.
Referenced by edm::service::MessageLoggerScribe::MessageLoggerScribe().
void edm::service::ELadministrator::setExitThreshold | ( | const ELseverityLevel & | sev | ) |
Definition at line 156 of file ELadministrator.cc.
References exitThreshold_.
void edm::service::ELadministrator::setIntervals | ( | const ELstring & | id, |
int | interval | ||
) |
Definition at line 398 of file ELadministrator.cc.
References begin, and sinks().
void edm::service::ELadministrator::setIntervals | ( | const ELseverityLevel & | sev, |
int | interval | ||
) |
Definition at line 390 of file ELadministrator.cc.
References begin.
void edm::service::ELadministrator::setLimits | ( | const ELstring & | id, |
int | limit | ||
) |
Definition at line 380 of file ELadministrator.cc.
References begin, and sinks().
void edm::service::ELadministrator::setLimits | ( | const ELseverityLevel & | sev, |
int | limit | ||
) |
Definition at line 407 of file ELadministrator.cc.
References begin, and sinks().
void edm::service::ELadministrator::setProcess | ( | const ELstring & | process | ) |
Definition at line 110 of file ELadministrator.cc.
References dtNoiseDBValidation_cfg::cerr, process(), and process_.
void edm::service::ELadministrator::setThresholds | ( | const ELseverityLevel & | sev | ) |
Definition at line 371 of file ELadministrator.cc.
References begin, and sinks().
void edm::service::ELadministrator::setTimespans | ( | const ELstring & | id, |
int | seconds | ||
) |
Definition at line 416 of file ELadministrator.cc.
References begin, and sinks().
void edm::service::ELadministrator::setTimespans | ( | const ELseverityLevel & | sev, |
int | seconds | ||
) |
Definition at line 425 of file ELadministrator.cc.
References begin, and sinks().
int edm::service::ELadministrator::severityCount | ( | const ELseverityLevel & | sev | ) | const |
Definition at line 200 of file ELadministrator.cc.
References edm::ELseverityLevel::getLevel(), and severityCounts_.
int edm::service::ELadministrator::severityCount | ( | const ELseverityLevel & | from, |
const ELseverityLevel & | to | ||
) | const |
Definition at line 207 of file ELadministrator.cc.
References edm::ELseverityLevel::getLevel(), gen::k, and severityCounts_.
|
protected |
Definition at line 272 of file ELadministrator.cc.
References severityCounts_.
|
protected |
Definition at line 264 of file ELadministrator.cc.
References sinks_.
Referenced by attach(), edm::service::ELtsErrorLog::dispatch(), finish(), finishMsg(), edm::service::ErrorLog::operator()(), setIntervals(), setLimits(), setThresholds(), setTimespans(), wipe(), and ~ELadministrator().
ELcontextSupplier & edm::service::ELadministrator::swapContextSupplier | ( | ELcontextSupplier & | cs | ) |
Definition at line 143 of file ELadministrator.cc.
Referenced by edm::service::ELrecv().
Definition at line 120 of file ELadministrator.cc.
References process(), process_, and groupFilesInBlocks::temp.
Referenced by edm::service::ELrecv().
void edm::service::ELadministrator::wipe | ( | ) |
Definition at line 434 of file ELadministrator.cc.
References begin, and sinks().
|
friend |
Definition at line 83 of file ELadministrator.h.
|
friend |
Definition at line 85 of file ELadministrator.h.
|
friend |
Definition at line 86 of file ELadministrator.h.
|
friend |
Definition at line 84 of file ELadministrator.h.
|
private |
Definition at line 167 of file ELadministrator.h.
Referenced by abortThreshold(), and setAbortThreshold().
|
private |
Definition at line 175 of file ELadministrator.h.
Referenced by attach(), and getELdestControl().
|
private |
Definition at line 166 of file ELadministrator.h.
Referenced by context(), edm::service::ELtsErrorLog::dispatch(), finishMsg(), getContextSupplier(), edm::service::ErrorLog::operator()(), and setContextSupplier().
|
private |
Definition at line 168 of file ELadministrator.h.
Referenced by exitThreshold(), and setExitThreshold().
|
private |
Definition at line 170 of file ELadministrator.h.
Referenced by checkSeverity(), edm::service::ELtsErrorLog::dispatch(), finishMsg(), highSeverity(), and edm::service::ErrorLog::operator()().
|
staticprivate |
Definition at line 161 of file ELadministrator.h.
Referenced by instance().
|
private |
Definition at line 172 of file ELadministrator.h.
Referenced by clearMsg(), edm::service::ErrorLog::emitToken(), finishMsg(), and edm::service::ErrorLog::operator()().
|
private |
Definition at line 173 of file ELadministrator.h.
Referenced by clearMsg(), edm::service::ErrorLog::emitToken(), edm::service::ErrorLog::endmsg(), finishMsg(), and edm::service::ErrorLog::operator()().
|
private |
Definition at line 165 of file ELadministrator.h.
Referenced by process(), setProcess(), and swapProcess().
|
private |
Definition at line 171 of file ELadministrator.h.
Referenced by edm::service::ELtsErrorLog::dispatch(), ELadministrator(), finishMsg(), edm::service::ErrorLog::operator()(), resetSeverityCount(), severityCount(), and severityCounts().
|
private |
Definition at line 169 of file ELadministrator.h.
Referenced by sinks().