#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_ |
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 46 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(), 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 113 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 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 686 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 515 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 657 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 566 of file MessageLogger.cc.
References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postEndJob | ( | ) |
Definition at line 679 of file MessageLogger.cc.
References edm::MessageLoggerQ::MLqSUM(), and SummarizeInJobReport().
Referenced by MessageLogger().
void MessageLogger::postEndLumi | ( | const edm::LuminosityBlock & | , |
EventSetup const & | |||
) |
Definition at line 672 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 641 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 552 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::runEvent.
Referenced by MessageLogger().
void MessageLogger::postFile | ( | ) |
Definition at line 533 of file MessageLogger.cc.
References unEstablish().
Referenced by MessageLogger().
void MessageLogger::postModule | ( | ModuleDescription const & | iDescription | ) |
Definition at line 483 of file MessageLogger.cc.
References 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 507 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleEndLumi | ( | ModuleDescription const & | iDescription | ) |
Definition at line 491 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postModuleEndRun | ( | ModuleDescription const & | iDescription | ) |
Definition at line 499 of file MessageLogger.cc.
References unEstablishModule().
Referenced by MessageLogger().
void MessageLogger::postPathBeginLumi | ( | const std::string & | pathname, |
HLTPathStatus const & | |||
) |
Definition at line 602 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 579 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 614 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 591 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 626 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().
Referenced by MessageLogger().
void MessageLogger::postSource | ( | ) |
Definition at line 526 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 648 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 558 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 664 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 632 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 538 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 529 of file MessageLogger.cc.
References establish().
Referenced by MessageLogger().
void MessageLogger::preFileClose | ( | ) |
Definition at line 531 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().
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 503 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::preModuleEndLumi | ( | ModuleDescription const & | desc | ) |
Definition at line 487 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::preModuleEndRun | ( | ModuleDescription const & | desc | ) |
Definition at line 495 of file MessageLogger.cc.
References establishModule().
Referenced by MessageLogger().
void MessageLogger::prePathBeginLumi | ( | const std::string & | pathname | ) |
Definition at line 597 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 574 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 608 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 585 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 620 of file MessageLogger.cc.
References edm::MessageDrop::instance(), and edm::MessageDrop::setPath().
Referenced by MessageLogger().
void MessageLogger::preSource | ( | ) |
Definition at line 522 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 700 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 137 of file MessageLogger.h.
Referenced by anyDebugEnabled(), establish(), establishModule(), establishModuleCtor(), and MessageLogger().
|
private |
Definition at line 130 of file MessageLogger.h.
Referenced by preEventProcessing().
|
private |
Definition at line 134 of file MessageLogger.h.
Referenced by debugEnabled().
|
private |
Definition at line 132 of file MessageLogger.h.
Referenced by establish(), establishModule(), establishModuleCtor(), and MessageLogger().
|
private |
Definition at line 136 of file MessageLogger.h.
|
staticprivate |
Definition at line 138 of file MessageLogger.h.
Referenced by establish(), establishModule(), establishModuleCtor(), and MessageLogger().
|
staticprivate |
Definition at line 140 of file MessageLogger.h.
Referenced by MessageLogger(), and SummarizeInJobReport().
|
private |
Definition at line 141 of file MessageLogger.h.
Referenced by preModuleConstruction(), and preSourceConstruction().
|
private |
Definition at line 142 of file MessageLogger.h.
Referenced by MessageLogger(), preModuleConstruction(), and preSourceConstruction().
|
private |
Definition at line 144 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 145 of file MessageLogger.h.
Referenced by establishModule(), establishModuleCtor(), and unEstablishModule().
|
private |
Definition at line 146 of file MessageLogger.h.
Referenced by establishModule(), establishModuleCtor(), and unEstablishModule().
|
private |
Definition at line 133 of file MessageLogger.h.
Referenced by establish(), establishModule(), establishModuleCtor(), and MessageLogger().