#include <MessageLogger.h>
Static Public Member Functions | |
static bool | anyDebugEnabled () |
static void | SummarizeInJobReport () |
Private Member Functions | |
void | establish (const char *whichPhase) |
void | establishModule (const ModuleDescription &desc, const char *whichPhase) |
void | establishModuleCtor (const ModuleDescription &desc, const char *whichPhase) |
void | unEstablish (const char *whichPhase) |
void | unEstablishModule (const ModuleDescription &desc, const char *whichPhase) |
Private Attributes | |
edm::EventID | curr_event_ |
bool | debugEnabled_ |
std::set< std::string > | debugEnabledModules_ |
std::map< const ModuleDescription *, std::string > | descToCalcName_ |
bool | messageServicePSetHasBeenValidated_ |
std::string | messageServicePSetValidatationResults_ |
std::vector< ModuleDescription const * > | moduleStack_ |
bool | nonModule_debugEnabled |
bool | nonModule_errorEnabled |
bool | nonModule_infoEnabled |
bool | nonModule_warningEnabled |
std::map< std::string, ELseverityLevel > | suppression_levels_ |
Static Private Attributes | |
static bool | anyDebugEnabled_ = false |
static bool | everyDebugEnabled_ = false |
static bool | fjrSummaryRequested_ = false |
Definition at line 48 of file MessageLogger.h.
MessageLogger::MessageLogger | ( | ParameterSet const & | iPS, |
ActivityRegistry & | iRegistry | ||
) |
Definition at line 108 of file MessageLogger.cc.
References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, SQLiteCheck_cfg::debugModules, alignCSCRings::e, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, everyDebugEnabled_, fjrSummaryRequested_, edm::ParameterSet::getUntrackedParameter(), edm::MessageDrop::instance(), jobFailure(), edm::MessageDrop::jobMode, edm::MessageDrop::jobreport_name, messageServicePSetValidatationResults_, edm::MessageLoggerQ::MLqCFG(), edm::MessageLoggerQ::MLqJOB(), edm::MessageLoggerQ::MLqMOD(), postBeginJob(), postBeginLumi(), postBeginRun(), postEndJob(), postEndLumi(), postEndRun(), postEventProcessing(), postFile(), postModule(), postModuleBeginJob(), postModuleBeginLumi(), postModuleBeginRun(), postModuleConstruction(), postModuleEndJob(), postModuleEndLumi(), postModuleEndRun(), postPathBeginLumi(), postPathBeginRun(), postPathEndLumi(), postPathEndRun(), postProcessPath(), postSource(), postSourceConstruction(), preBeginLumi(), preBeginRun(), preEndLumi(), preEndRun(), preEventProcessing(), preFile(), preFileClose(), preModule(), preModuleBeginJob(), preModuleBeginLumi(), preModuleBeginRun(), preModuleConstruction(), preModuleEndJob(), preModuleEndLumi(), preModuleEndRun(), prePathBeginLumi(), prePathBeginRun(), prePathEndLumi(), prePathEndRun(), preProcessPath(), preSource(), preSourceConstruction(), AlCaHLTBitMon_QueryRunRegistry::string, MergeJob_cfg::suppressDebug, EcnaSystemPythonModuleInsert_1::suppressInfo, suppression_levels_, MergeJob_cfg::suppressWarning, edm::ActivityRegistry::watchJobFailure(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostBeginLumi(), edm::ActivityRegistry::watchPostBeginRun(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEndLumi(), edm::ActivityRegistry::watchPostEndRun(), edm::ActivityRegistry::watchPostModule(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginLumi(), edm::ActivityRegistry::watchPostModuleBeginRun(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleEndJob(), edm::ActivityRegistry::watchPostModuleEndLumi(), edm::ActivityRegistry::watchPostModuleEndRun(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPostPathBeginLumi(), edm::ActivityRegistry::watchPostPathBeginRun(), edm::ActivityRegistry::watchPostPathEndLumi(), edm::ActivityRegistry::watchPostPathEndRun(), edm::ActivityRegistry::watchPostProcessEvent(), edm::ActivityRegistry::watchPostProcessPath(), edm::ActivityRegistry::watchPostSource(), edm::ActivityRegistry::watchPostSourceConstruction(), edm::ActivityRegistry::watchPostSourceLumi(), edm::ActivityRegistry::watchPostSourceRun(), edm::ActivityRegistry::watchPreBeginLumi(), edm::ActivityRegistry::watchPreBeginRun(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEndLumi(), edm::ActivityRegistry::watchPreEndRun(), edm::ActivityRegistry::watchPreModule(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginLumi(), edm::ActivityRegistry::watchPreModuleBeginRun(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndLumi(), edm::ActivityRegistry::watchPreModuleEndRun(), edm::ActivityRegistry::watchPreOpenFile(), edm::ActivityRegistry::watchPrePathBeginLumi(), edm::ActivityRegistry::watchPrePathBeginRun(), edm::ActivityRegistry::watchPrePathEndLumi(), edm::ActivityRegistry::watchPrePathEndRun(), edm::ActivityRegistry::watchPreProcessEvent(), edm::ActivityRegistry::watchPreProcessPath(), edm::ActivityRegistry::watchPreSource(), edm::ActivityRegistry::watchPreSourceConstruction(), edm::ActivityRegistry::watchPreSourceLumi(), and edm::ActivityRegistry::watchPreSourceRun().
|
inlinestatic |
Definition at line 115 of file MessageLogger.h.
References anyDebugEnabled_.
|
inline |
|
private |
Definition at line 383 of file MessageLogger.cc.
References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::MessageDrop::setSinglet(), suppression_levels_, and edm::MessageDrop::warningEnabled.
Referenced by preFile(), preFileClose(), and preSource().
|
private |
Definition at line 285 of file MessageLogger.cc.
References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, edm::MessageDrop::setModuleWithPhase(), suppression_levels_, and edm::MessageDrop::warningEnabled.
Referenced by postModule(), preModule(), preModuleBeginJob(), preModuleBeginLumi(), preModuleBeginRun(), preModuleEndJob(), preModuleEndLumi(), and preModuleEndRun().
|
private |
Definition at line 326 of file MessageLogger.cc.
References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, edm::MessageDrop::setModuleWithPhase(), edm::MessageDrop::snapshot(), suppression_levels_, and edm::MessageDrop::warningEnabled.
Referenced by preModuleConstruction(), and preSourceConstruction().
void edm::service::MessageLogger::fillErrorObj | ( | edm::ErrorObj & | obj | ) | const |
void MessageLogger::jobFailure | ( | ) |
Definition at line 700 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::MessageLoggerQ::MLqSUM(), edm::MessageDrop::moduleName, and SummarizeInJobReport().
Referenced by MessageLogger().
void MessageLogger::postBeginJob | ( | ) |
Definition at line 529 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postBeginLumi | ( | const edm::LuminosityBlock & | , |
EventSetup const & | |||
) |
Definition at line 671 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postBeginRun | ( | const edm::Run & | , |
EventSetup const & | |||
) |
Definition at line 580 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postEndJob | ( | ) |
Definition at line 693 of file MessageLogger.cc.
References edm::MessageLoggerQ::MLqSUM(), and SummarizeInJobReport().
Referenced by MessageLogger().
void MessageLogger::postEndLumi | ( | const edm::LuminosityBlock & | , |
EventSetup const & | |||
) |
Definition at line 686 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postEndRun | ( | const edm::Run & | , |
EventSetup const & | |||
) |
Definition at line 655 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postEventProcessing | ( | Event const & | , |
EventSetup const & | |||
) |
Definition at line 566 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::runEvent.
Referenced by MessageLogger().
void MessageLogger::postFile | ( | ) |
Definition at line 547 of file MessageLogger.cc.
References unEstablish().
Referenced by MessageLogger().
void MessageLogger::postModule | ( | ModuleDescription const & | iDescription | ) |
Definition at line 485 of file MessageLogger.cc.
References establishModule(), moduleStack_, and unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleBeginJob | ( | ModuleDescription const & | iDescription | ) |
Definition at line 442 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleBeginLumi | ( | ModuleDescription const & | iDescription | ) |
Definition at line 475 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleBeginRun | ( | ModuleDescription const & | iDescription | ) |
Definition at line 467 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleConstruction | ( | ModuleDescription const & | iDescription | ) |
Definition at line 434 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleEndJob | ( | ModuleDescription const & | iDescription | ) |
Definition at line 521 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleEndLumi | ( | ModuleDescription const & | iDescription | ) |
Definition at line 505 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleEndRun | ( | ModuleDescription const & | iDescription | ) |
Definition at line 513 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postPathBeginLumi | ( | const std::string & | pathname, |
HLTPathStatus const & | |||
) |
Definition at line 616 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postPathBeginRun | ( | const std::string & | pathname, |
HLTPathStatus const & | |||
) |
Definition at line 593 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postPathEndLumi | ( | const std::string & | pathname, |
HLTPathStatus const & | |||
) |
Definition at line 628 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postPathEndRun | ( | const std::string & | pathname, |
HLTPathStatus const & | |||
) |
Definition at line 605 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postProcessPath | ( | const std::string & | pathname, |
HLTPathStatus const & | |||
) |
Definition at line 640 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postSource | ( | ) |
Definition at line 540 of file MessageLogger.cc.
References unEstablish().
Referenced by MessageLogger().
void MessageLogger::postSourceConstruction | ( | ModuleDescription const & | iDescription | ) |
Definition at line 459 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::preBeginLumi | ( | const edm::LuminosityBlockID & | iID, |
const edm::Timestamp & | |||
) |
Definition at line 662 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::LuminosityBlockID::luminosityBlock(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::preBeginRun | ( | const edm::RunID & | iID, |
const edm::Timestamp & | |||
) |
Definition at line 572 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::RunID::run(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::preEndLumi | ( | const edm::LuminosityBlockID & | iID, |
const edm::Timestamp & | |||
) |
Definition at line 678 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::LuminosityBlockID::luminosityBlock(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::preEndRun | ( | const edm::RunID & | iID, |
const edm::Timestamp & | |||
) |
Definition at line 646 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::RunID::run(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::preEventProcessing | ( | edm::EventID const & | iID, |
edm::Timestamp const & | |||
) |
Definition at line 552 of file MessageLogger.cc.
References curr_event_, edm::EventID::event(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::preFile | ( | ) |
Definition at line 543 of file MessageLogger.cc.
References establish().
Referenced by MessageLogger().
void MessageLogger::preFileClose | ( | std::string const & | , |
bool | |||
) |
Definition at line 545 of file MessageLogger.cc.
References establish().
Referenced by MessageLogger().
void MessageLogger::preModule | ( | ModuleDescription const & | desc | ) |
Definition at line 479 of file MessageLogger.cc.
References establishModule(), and moduleStack_.
Referenced by MessageLogger().
void MessageLogger::preModuleBeginJob | ( | ModuleDescription const & | desc | ) |
Definition at line 438 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::preModuleBeginLumi | ( | ModuleDescription const & | desc | ) |
Definition at line 471 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::preModuleBeginRun | ( | ModuleDescription const & | desc | ) |
Definition at line 463 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::preModuleConstruction | ( | ModuleDescription const & | desc | ) |
Definition at line 421 of file MessageLogger.cc.
References edm::errors::Configuration, establishModuleCtor(), messageServicePSetHasBeenValidated_, and messageServicePSetValidatationResults_.
Referenced by MessageLogger().
void MessageLogger::preModuleEndJob | ( | ModuleDescription const & | desc | ) |
Definition at line 517 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::preModuleEndLumi | ( | ModuleDescription const & | desc | ) |
Definition at line 501 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::preModuleEndRun | ( | ModuleDescription const & | desc | ) |
Definition at line 509 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::prePathBeginLumi | ( | const std::string & | pathname | ) |
Definition at line 611 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setPath().
Referenced by MessageLogger().
void MessageLogger::prePathBeginRun | ( | const std::string & | pathname | ) |
Definition at line 588 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setPath().
Referenced by MessageLogger().
void MessageLogger::prePathEndLumi | ( | const std::string & | pathname | ) |
Definition at line 622 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setPath().
Referenced by MessageLogger().
void MessageLogger::prePathEndRun | ( | const std::string & | pathname | ) |
Definition at line 599 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setPath().
Referenced by MessageLogger().
void MessageLogger::preProcessPath | ( | const std::string & | pathname | ) |
Definition at line 634 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setPath().
Referenced by MessageLogger().
void MessageLogger::preSource | ( | ) |
Definition at line 536 of file MessageLogger.cc.
References establish().
Referenced by MessageLogger().
void MessageLogger::preSourceConstruction | ( | ModuleDescription const & | desc | ) |
Definition at line 446 of file MessageLogger.cc.
References edm::errors::Configuration, establishModuleCtor(), messageServicePSetHasBeenValidated_, and messageServicePSetValidatationResults_.
Referenced by MessageLogger().
|
static |
Definition at line 714 of file MessageLogger.cc.
References fjrSummaryRequested_, edm::MessageLoggerQ::MLqJRS(), and edm::JobReport::reportMessageInfo().
Referenced by jobFailure(), and postEndJob().
|
private |
Definition at line 411 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().
Referenced by postFile(), and postSource().
|
private |
Definition at line 368 of file MessageLogger.cc.
References edm::MessageDrop::debugEnabled, edm::MessageDrop::errorEnabled, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, edm::MessageDrop::setSinglet(), and edm::MessageDrop::warningEnabled.
Referenced by postModule(), postModuleBeginJob(), postModuleBeginLumi(), postModuleBeginRun(), postModuleConstruction(), postModuleEndJob(), postModuleEndLumi(), postModuleEndRun(), and postSourceConstruction().
|
staticprivate |
Definition at line 139 of file MessageLogger.h.
Referenced by anyDebugEnabled(), establish(), establishModule(), establishModuleCtor(), and MessageLogger().
|
private |
Definition at line 132 of file MessageLogger.h.
Referenced by preEventProcessing().
|
private |
Definition at line 136 of file MessageLogger.h.
Referenced by debugEnabled().
|
private |
Definition at line 134 of file MessageLogger.h.
Referenced by establish(), establishModule(), establishModuleCtor(), and MessageLogger().
|
private |
Definition at line 138 of file MessageLogger.h.
|
staticprivate |
Definition at line 140 of file MessageLogger.h.
Referenced by establish(), establishModule(), establishModuleCtor(), and MessageLogger().
|
staticprivate |
Definition at line 142 of file MessageLogger.h.
Referenced by MessageLogger(), and SummarizeInJobReport().
|
private |
Definition at line 143 of file MessageLogger.h.
Referenced by preModuleConstruction(), and preSourceConstruction().
|
private |
Definition at line 144 of file MessageLogger.h.
Referenced by MessageLogger(), preModuleConstruction(), and preSourceConstruction().
|
private |
Definition at line 151 of file MessageLogger.h.
Referenced by postModule(), and preModule().
|
private |
Definition at line 146 of file MessageLogger.h.
Referenced by establishModule(), establishModuleCtor(), and unEstablishModule().
|
private |
Definition at line 149 of file MessageLogger.h.
Referenced by establishModule(), establishModuleCtor(), and unEstablishModule().
|
private |
Definition at line 147 of file MessageLogger.h.
Referenced by establishModule(), establishModuleCtor(), and unEstablishModule().
|
private |
Definition at line 148 of file MessageLogger.h.
Referenced by establishModule(), establishModuleCtor(), and unEstablishModule().
|
private |
Definition at line 135 of file MessageLogger.h.
Referenced by establish(), establishModule(), establishModuleCtor(), and MessageLogger().