#include <ErrorLog.h>
Public Member Functions | |
ErrorLog & | emitToken (const ELstring &msg) |
ErrorLog & | endmsg () |
ErrorLog () | |
ErrorLog (const ELstring &pkgName) | |
bool | getELdestControl (const ELstring &name, ELdestControl &theDestControl) const |
ELstring | moduleName () const |
ErrorLog & | operator() (const ELseverityLevel &sev, const ELstring &id) |
ErrorLog & | operator() (int debugLevel) |
ErrorLog & | operator() (edm::ErrorObj &msg) |
ErrorLog & | operator() (int nbytes, char *data) |
ErrorLog & | operator<< (void(*f)(ErrorLog &)) |
void | setDebugMessages (ELseverityLevel sev, ELstring id) |
void | setDebugVerbosity (int debugVerbosity) |
ELseverityLevel | setDiscardThreshold (ELseverityLevel sev) |
int | setHexTrigger (int trigger) |
void | setModule (const ELstring &modName) |
void | setPackage (const ELstring &pkgName) |
bool | setSpaceAfterInt (bool space=true) |
void | setSubroutine (const ELstring &subName) |
ELstring | subroutineName () const |
virtual | ~ErrorLog () |
Public Attributes | |
ELstring | debugMessageId |
ELseverityLevel | debugSeverityLevel |
int | debugVerbosityLevel |
bool | discarding |
ELseverityLevel | discardThreshold |
int | hexTrigger |
bool | spaceAfterInt |
Protected Attributes | |
ELadministrator * | a |
Private Attributes | |
ELstring | module |
ELstring | subroutine |
Friends | |
class | ELtsErrorLog |
Definition at line 51 of file ErrorLog.h.
edm::service::ErrorLog::ErrorLog | ( | ) |
Definition at line 69 of file ErrorLog.cc.
References gather_cfg::cout.
edm::service::ErrorLog::ErrorLog | ( | const ELstring & | pkgName | ) |
Definition at line 88 of file ErrorLog.cc.
References gather_cfg::cout.
|
virtual |
Definition at line 269 of file ErrorLog.cc.
References a, gather_cfg::cout, edm::ELunspecified, edm::ErrorObj::emitToken(), edm::service::ELadministrator::msg, and edm::service::ELadministrator::msgIsActive.
Referenced by edm::service::operator<<().
ErrorLog & edm::service::ErrorLog::endmsg | ( | ) |
Definition at line 289 of file ErrorLog.cc.
References a, edm::service::ELadministrator::clearMsg(), gather_cfg::cout, edm::service::ELadministrator::finishMsg(), and edm::service::ELadministrator::msgIsActive.
Referenced by edm::service::endmsg(), and operator()().
bool edm::service::ErrorLog::getELdestControl | ( | const ELstring & | name, |
ELdestControl & | theDestControl | ||
) | const |
Definition at line 341 of file ErrorLog.cc.
References a, and edm::service::ELadministrator::getELdestControl().
ELstring edm::service::ErrorLog::moduleName | ( | ) | const |
ErrorLog & edm::service::ErrorLog::operator() | ( | const ELseverityLevel & | sev, |
const ELstring & | id | ||
) |
Definition at line 116 of file ErrorLog.cc.
References a, gather_cfg::cout, discarding, discardThreshold, endmsg(), edm::ELseverityLevel::getName(), edm::service::ELadministrator::msg, edm::service::ELadministrator::msgIsActive, edm::service::ELadministrator::process(), edm::ErrorObj::set(), edm::ErrorObj::setModule(), edm::ErrorObj::setProcess(), edm::ErrorObj::setReactedTo(), edm::ErrorObj::setSubroutine(), and subroutine.
|
inline |
ErrorLog & edm::service::ErrorLog::operator() | ( | edm::ErrorObj & | msg | ) |
Definition at line 180 of file ErrorLog.cc.
References a, edm::service::ELadministrator::abortThreshold(), edm::service::ELadministrator::attach(), dtNoiseDBValidation_cfg::cerr, edm::service::ELadministrator::context_, gather_cfg::cout, endmsg(), edm::service::ELadministrator::exitThreshold(), edm::ELseverityLevel::getLevel(), edm::service::ELadministrator::highSeverity_, edm::ELextendedID::module, edm::service::possiblyAbOrEx(), edm::ELextendedID::process, edm::service::ELadministrator::process(), edm::ErrorObj::setModule(), edm::ErrorObj::setProcess(), edm::ErrorObj::setReactedTo(), edm::ErrorObj::setSubroutine(), edm::ELextendedID::severity, edm::service::ELadministrator::severityCounts_, edm::service::ELadministrator::sinks(), edm::ELextendedID::subroutine, subroutine, and edm::ErrorObj::xid().
ErrorLog & edm::service::ErrorLog::operator() | ( | int | nbytes, |
char * | data | ||
) |
Definition at line 250 of file ErrorLog.cc.
References edm::service::ELrecv().
void edm::service::ErrorLog::setDebugMessages | ( | ELseverityLevel | sev, |
ELstring | id | ||
) |
Definition at line 336 of file ErrorLog.cc.
References debugMessageId, debugSeverityLevel, and errorMatrix2Lands_multiChannel::id.
Referenced by edm::service::ELtsErrorLog::setDebugMessages().
void edm::service::ErrorLog::setDebugVerbosity | ( | int | debugVerbosity | ) |
Definition at line 332 of file ErrorLog.cc.
References BeamSplash_cfg::debugVerbosity, and debugVerbosityLevel.
Referenced by edm::service::ELtsErrorLog::setDebugVerbosity().
ELseverityLevel edm::service::ErrorLog::setDiscardThreshold | ( | ELseverityLevel | sev | ) |
Definition at line 326 of file ErrorLog.cc.
References discardThreshold.
Referenced by edm::service::ELtsErrorLog::setDiscardThreshold().
int edm::service::ErrorLog::setHexTrigger | ( | int | trigger | ) |
Definition at line 320 of file ErrorLog.cc.
References hexTrigger.
Referenced by edm::service::ELtsErrorLog::setHexTrigger().
void edm::service::ErrorLog::setModule | ( | const ELstring & | modName | ) |
Definition at line 236 of file ErrorLog.cc.
Referenced by edm::service::ELrecv(), edm::service::ELtsErrorLog::setModule(), edm::service::ELtsErrorLog::setPackage(), and setPackage().
void edm::service::ErrorLog::setPackage | ( | const ELstring & | pkgName | ) |
bool edm::service::ErrorLog::setSpaceAfterInt | ( | bool | space = true | ) |
void edm::service::ErrorLog::setSubroutine | ( | const ELstring & | subName | ) |
Definition at line 149 of file ErrorLog.cc.
References subroutine.
Referenced by edm::service::ELrecv(), and edm::service::ELtsErrorLog::setSubroutine().
ELstring edm::service::ErrorLog::subroutineName | ( | ) | const |
|
friend |
Definition at line 53 of file ErrorLog.h.
|
protected |
Definition at line 121 of file ErrorLog.h.
Referenced by emitToken(), endmsg(), getELdestControl(), and operator()().
ELstring edm::service::ErrorLog::debugMessageId |
Definition at line 133 of file ErrorLog.h.
Referenced by setDebugMessages().
ELseverityLevel edm::service::ErrorLog::debugSeverityLevel |
Definition at line 132 of file ErrorLog.h.
Referenced by setDebugMessages().
int edm::service::ErrorLog::debugVerbosityLevel |
Definition at line 131 of file ErrorLog.h.
Referenced by setDebugVerbosity().
bool edm::service::ErrorLog::discarding |
Definition at line 130 of file ErrorLog.h.
Referenced by edm::service::ELtsErrorLog::initiateMsg(), edm::service::ELtsErrorLog::item(), operator()(), operator<<(), and edm::service::operator<<().
ELseverityLevel edm::service::ErrorLog::discardThreshold |
Definition at line 129 of file ErrorLog.h.
Referenced by edm::service::ELtsErrorLog::initiateMsg(), operator()(), and setDiscardThreshold().
int edm::service::ErrorLog::hexTrigger |
Definition at line 127 of file ErrorLog.h.
Referenced by edm::service::ELtsErrorLog::item(), edm::service::operator<<(), and setHexTrigger().
|
private |
Definition at line 125 of file ErrorLog.h.
Referenced by edm::service::ELtsErrorLog::initiateMsg(), moduleName(), edm::service::ELtsErrorLog::pokeMsg(), and TreeCrawler.Package::search().
bool edm::service::ErrorLog::spaceAfterInt |
Definition at line 128 of file ErrorLog.h.
Referenced by edm::service::operator<<(), and setSpaceAfterInt().
|
private |
Definition at line 124 of file ErrorLog.h.
Referenced by edm::service::ELtsErrorLog::initiateMsg(), operator()(), edm::service::ELtsErrorLog::pokeMsg(), setSubroutine(), and subroutineName().