CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
edm::service::MessageLogger Class Reference

#include <MessageLogger.h>

Public Member Functions

bool debugEnabled () const
 
void fillErrorObj (edm::ErrorObj &obj) const
 
 MessageLogger (ParameterSet const &, ActivityRegistry &)
 

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 establishModule (unsigned int transitionIndex, const ModuleCallingContext &context, const char *whichPhase)
 
void jobFailure ()
 
void postBeginJob ()
 
void postEndJob ()
 
void postEvent (StreamContext const &)
 
void postFile (std::string const &, bool)
 
void postGlobalBeginLumi (GlobalContext const &)
 
void postGlobalBeginRun (GlobalContext const &)
 
void postGlobalEndLumi (GlobalContext const &)
 
void postGlobalEndRun (GlobalContext const &)
 
void postModuleBeginJob (ModuleDescription const &)
 
void postModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleConstruction (ModuleDescription const &)
 
void postModuleEndJob (ModuleDescription const &)
 
void postModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventAcquire (StreamContext const &, ModuleCallingContext const &)
 
void postModuleGlobalBeginLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalBeginRun (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalEndLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalEndRun (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void postPathEvent (StreamContext const &, PathContext const &, HLTPathStatus const &)
 
void postSourceConstruction (ModuleDescription const &)
 
void postSourceEvent (StreamID)
 
void postSourceRunLumi ()
 
void postStreamBeginLumi (StreamContext const &)
 
void postStreamBeginRun (StreamContext const &)
 
void postStreamEndLumi (StreamContext const &)
 
void postStreamEndRun (StreamContext const &)
 
void preEvent (StreamContext const &)
 
void preFile (std::string const &, bool)
 
void preFileClose (std::string const &, bool)
 
void preGlobalBeginLumi (GlobalContext const &)
 
void preGlobalBeginRun (GlobalContext const &)
 
void preGlobalEndLumi (GlobalContext const &)
 
void preGlobalEndRun (GlobalContext const &)
 
void preModuleBeginJob (ModuleDescription const &)
 
void preModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleConstruction (ModuleDescription const &)
 
void preModuleEndJob (ModuleDescription const &)
 
void preModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventAcquire (StreamContext const &, ModuleCallingContext const &)
 
void preModuleGlobalBeginLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalBeginRun (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalEndLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalEndRun (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void prePathEvent (StreamContext const &, PathContext const &)
 
void preSourceConstruction (ModuleDescription const &)
 
void preSourceEvent (StreamID)
 
void preSourceRunLumi ()
 
void preStreamBeginLumi (StreamContext const &)
 
void preStreamBeginRun (StreamContext const &)
 
void preStreamEndLumi (StreamContext const &)
 
void preStreamEndRun (StreamContext const &)
 
void unEstablish (const char *whichPhase)
 
void unEstablishModule (const ModuleDescription &desc, const char *whichPhase)
 
void unEstablishModule (const ModuleCallingContext &desc, const char *whichPhase)
 

Private Attributes

bool debugEnabled_
 
std::set< std::string > debugEnabledModules_
 
unsigned int lumiInfoBegin_ =0
 
bool messageServicePSetHasBeenValidated_
 
std::string messageServicePSetValidatationResults_
 
bool nonModule_debugEnabled
 
bool nonModule_errorEnabled
 
bool nonModule_infoEnabled
 
bool nonModule_warningEnabled
 
unsigned int runInfoBegin_ =0
 
std::map< std::string, ELseverityLevelsuppression_levels_
 
std::vector< std::string > transitionInfoCache_
 

Static Private Attributes

static bool anyDebugEnabled_ = false
 
static bool everyDebugEnabled_ = false
 
static bool fjrSummaryRequested_ = false
 

Detailed Description

Definition at line 48 of file MessageLogger.h.

Constructor & Destructor Documentation

MessageLogger::MessageLogger ( ParameterSet const &  iPS,
ActivityRegistry iRegistry 
)

Definition at line 146 of file MessageLogger.cc.

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, MessageLogger_cfi::debugModules, MillePedeFileConverter_cfg::e, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, establishModule(), everyDebugEnabled_, fjrSummaryRequested_, edm::ModuleCallingContext::getTopModuleCallingContext(), edm::ParameterSet::getUntrackedParameter(), edm::ModuleDescription::id(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), jobFailure(), edm::MessageDrop::jobMode, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kEndLuminosityBlock, edm::ParentContext::kGlobal, lumiInfoBegin_, SiStripPI::max, edm::service::SystemBounds::maxNumberOfConcurrentLuminosityBlocks(), edm::service::SystemBounds::maxNumberOfConcurrentRuns(), edm::service::SystemBounds::maxNumberOfStreams(), messageServicePSetValidatationResults_, edm::MessageLoggerQ::MLqCFG(), edm::MessageLoggerQ::MLqMOD(), mod(), edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, or, postBeginJob(), postEndJob(), postEvent(), postFile(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceRunLumi(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preEvent(), preFile(), preFileClose(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceRunLumi(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), edm::ModuleCallingContext::previousModuleOnThread(), edm::MessageDrop::runEvent, runInfoBegin_, edm::setMaxLoggedErrorsSummaryIndicies(), edm::MessageDrop::setModuleWithPhase(), edm::MessageDrop::setSinglet(), edm::MessageDrop::streamID, AlCaHLTBitMon_QueryRunRegistry::string, benchmark_cfg::suppressDebug, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::suppressInfo, suppression_levels_, benchmark_cfg::suppressWarning, transitionInfoCache_, unEstablishModule(), edm::MessageDrop::warningEnabled, edm::ActivityRegistry::watchJobFailure(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginStream(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleEndJob(), edm::ActivityRegistry::watchPostModuleEndStream(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostModuleEventAcquire(), edm::ActivityRegistry::watchPostModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPostModuleGlobalBeginRun(), edm::ActivityRegistry::watchPostModuleGlobalEndLumi(), edm::ActivityRegistry::watchPostModuleGlobalEndRun(), edm::ActivityRegistry::watchPostModuleStreamBeginLumi(), edm::ActivityRegistry::watchPostModuleStreamBeginRun(), edm::ActivityRegistry::watchPostModuleStreamEndLumi(), edm::ActivityRegistry::watchPostModuleStreamEndRun(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPostPathEvent(), edm::ActivityRegistry::watchPostSourceConstruction(), edm::ActivityRegistry::watchPostSourceEvent(), edm::ActivityRegistry::watchPostSourceLumi(), edm::ActivityRegistry::watchPostSourceRun(), edm::ActivityRegistry::watchPostStreamBeginLumi(), edm::ActivityRegistry::watchPostStreamBeginRun(), edm::ActivityRegistry::watchPostStreamEndLumi(), edm::ActivityRegistry::watchPostStreamEndRun(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginStream(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndStream(), edm::ActivityRegistry::watchPreModuleEvent(), edm::ActivityRegistry::watchPreModuleEventAcquire(), edm::ActivityRegistry::watchPreModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPreModuleGlobalBeginRun(), edm::ActivityRegistry::watchPreModuleGlobalEndLumi(), edm::ActivityRegistry::watchPreModuleGlobalEndRun(), edm::ActivityRegistry::watchPreModuleStreamBeginLumi(), edm::ActivityRegistry::watchPreModuleStreamBeginRun(), edm::ActivityRegistry::watchPreModuleStreamEndLumi(), edm::ActivityRegistry::watchPreModuleStreamEndRun(), edm::ActivityRegistry::watchPreOpenFile(), edm::ActivityRegistry::watchPrePathEvent(), edm::ActivityRegistry::watchPreSourceConstruction(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreSourceLumi(), edm::ActivityRegistry::watchPreSourceRun(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamBeginRun(), edm::ActivityRegistry::watchPreStreamEndLumi(), and edm::ActivityRegistry::watchPreStreamEndRun().

149  : debugEnabled_(false)
152  , nonModule_debugEnabled(false)
153  , nonModule_infoEnabled(true)
155  , nonModule_errorEnabled(true) // change log 20
156  {
157  // prepare cfg validation string for later use
159  messageServicePSetValidatationResults_ = validator(iPS); // change log 12
160 
161  typedef std::vector<std::string> vString;
162  vString empty_vString;
163  vString debugModules;
164  vString suppressDebug;
165  vString suppressInfo;
166  vString suppressWarning;
167  vString suppressError; // change log 20
168 
169  try { // change log 13
170  // decide whether a summary should be placed in job report
172  iPS.getUntrackedParameter<bool>("messageSummaryToJobReport", false);
173 
174  // grab list of debug-enabled modules
175  debugModules =
176  iPS.getUntrackedParameter<vString>("debugModules", empty_vString);
177 
178  // grab lists of suppressLEVEL modules
179  suppressDebug =
180  iPS.getUntrackedParameter<vString>("suppressDebug", empty_vString);
181 
182  suppressInfo =
183  iPS.getUntrackedParameter<vString>("suppressInfo", empty_vString);
184 
185  suppressWarning =
186  iPS.getUntrackedParameter<vString>("suppressWarning", empty_vString);
187 
188  suppressError = // change log 20
189  iPS.getUntrackedParameter<vString>("suppressError", empty_vString);
190  } catch (cms::Exception& e) { // change log 13
191  }
192 
193  // Use these lists to prepare a map to use in tracking suppression
194 
195  // Do suppressDebug first and suppressError last to get proper order
196  for( vString::const_iterator it = suppressDebug.begin();
197  it != suppressDebug.end(); ++it ) {
199  }
200 
201  for( vString::const_iterator it = suppressInfo.begin();
202  it != suppressInfo.end(); ++it ) {
204  }
205 
206  for( vString::const_iterator it = suppressWarning.begin();
207  it != suppressWarning.end(); ++it ) {
209  }
210 
211  for( vString::const_iterator it = suppressError.begin(); // change log 20
212  it != suppressError.end(); ++it ) {
214  }
215 
216  // set up for tracking whether current module is debug-enabled
217  // (and info-enabled and warning-enabled)
218  if ( debugModules.empty()) {
219  anyDebugEnabled_ = false; // change log 11
220  MessageDrop::instance()->debugEnabled = false; // change log 1
221  } else {
222  anyDebugEnabled_ = true; // change log 11
224  // this will be over-ridden when specific modules are entered
225  }
226 
227  // if ( debugModules.empty()) anyDebugEnabled_ = true; // wrong; change log 11
228  for( vString::const_iterator it = debugModules.begin();
229  it != debugModules.end(); ++it ) {
230  if (*it == "*") {
231  everyDebugEnabled_ = true;
232  } else {
233  debugEnabledModules_.insert(*it);
234  }
235  }
236 
237  // change log 7
239  std::string * jm_p = new std::string(jm);
240  MessageLoggerQ::MLqMOD( jm_p ); // change log 9
241 
242  MessageLoggerQ::MLqCFG( new ParameterSet(iPS) ); // change log 9
243 
244  iRegistry.watchPreallocate([this](edm::service::SystemBounds const& iBounds){
245  //reserve the proper amount of space to record the transition info
246  this->transitionInfoCache_.resize(iBounds.maxNumberOfStreams()
248  +iBounds.maxNumberOfConcurrentRuns());
251 
253  });
254 
257  iRegistry.watchJobFailure(this,&MessageLogger::jobFailure); // change log 14
258 
261  // change log 3
262 
265  // change log 3
266 
269 
272 
275  // change log 14:
276  iRegistry.watchPreSourceRun([this](RunIndex) { preSourceRunLumi(); });
277  iRegistry.watchPostSourceRun([this](RunIndex) { postSourceRunLumi(); });
278  iRegistry.watchPreSourceLumi([this](LuminosityBlockIndex) { preSourceRunLumi(); });
280  iRegistry.watchPreOpenFile(this,&MessageLogger::preFile);
284 
285  // change log 13:
286  // change log 15
291 
296 
305 
314 
315  iRegistry.watchPreEvent(this,&MessageLogger::preEvent);
316  iRegistry.watchPostEvent(this,&MessageLogger::postEvent);
317 
326 
335 
338 
339 
340  MessageDrop* messageDrop = MessageDrop::instance();
341  nonModule_debugEnabled = messageDrop->debugEnabled;
342  nonModule_infoEnabled = messageDrop->infoEnabled;
344  nonModule_errorEnabled = messageDrop->errorEnabled;
345  } // ctor
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
void preModuleEndJob(ModuleDescription const &)
void postGlobalEndRun(GlobalContext const &)
void watchPreEvent(PreEvent::slot_type const &iSlot)
void postStreamBeginLumi(StreamContext const &)
void preStreamEndLumi(StreamContext const &)
void preStreamBeginLumi(StreamContext const &)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void watchPreallocate(Preallocate::slot_type const &iSlot)
void postModuleConstruction(ModuleDescription const &)
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
void postGlobalBeginLumi(GlobalContext const &)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
void preModuleBeginJob(ModuleDescription const &)
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
void watchPostEvent(PostEvent::slot_type const &iSlot)
void postGlobalBeginRun(GlobalContext const &)
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void preGlobalEndLumi(GlobalContext const &)
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
static std::string jobMode
Definition: MessageDrop.h:110
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
void preSourceConstruction(ModuleDescription const &)
void setMaxLoggedErrorsSummaryIndicies(unsigned int iMax)
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void preGlobalBeginLumi(GlobalContext const &)
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
void postStreamEndRun(StreamContext const &)
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
void preGlobalBeginRun(GlobalContext const &)
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
void watchJobFailure(JobFailure::slot_type const &iSlot)
convenience function for attaching to signal
unsigned int maxNumberOfStreams() const
Definition: SystemBounds.h:43
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void postEvent(StreamContext const &)
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void preFileClose(std::string const &, bool)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
static void MLqCFG(ParameterSet *p)
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
void prePathEvent(StreamContext const &, PathContext const &)
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
void preModuleConstruction(ModuleDescription const &)
void postStreamBeginRun(StreamContext const &)
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
void postStreamEndLumi(StreamContext const &)
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
std::vector< std::string > transitionInfoCache_
unsigned int maxNumberOfConcurrentLuminosityBlocks() const
Definition: SystemBounds.h:45
std::set< std::string > debugEnabledModules_
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
void watchPreCloseFile(PreCloseFile::slot_type const &iSlot)
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
void postSourceConstruction(ModuleDescription const &)
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
static void MLqMOD(std::string *jm)
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
void postModuleEndJob(ModuleDescription const &)
void preStreamEndRun(StreamContext const &)
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void postModuleBeginJob(ModuleDescription const &)
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
unsigned int maxNumberOfConcurrentRuns() const
Definition: SystemBounds.h:44
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
void preFile(std::string const &, bool)
void postGlobalEndLumi(GlobalContext const &)
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
void preGlobalEndRun(GlobalContext const &)
void preEvent(StreamContext const &)
std::string messageServicePSetValidatationResults_
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
std::map< std::string, ELseverityLevel > suppression_levels_
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
void preStreamBeginRun(StreamContext const &)
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void postFile(std::string const &, bool)

Member Function Documentation

static bool edm::service::MessageLogger::anyDebugEnabled ( )
inlinestatic

Definition at line 56 of file MessageLogger.h.

References anyDebugEnabled_, establish(), establishModule(), jobFailure(), postBeginJob(), postEndJob(), postEvent(), postFile(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceRunLumi(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preEvent(), preFile(), preFileClose(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceRunLumi(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), AlCaHLTBitMon_QueryRunRegistry::string, SummarizeInJobReport(), unEstablish(), and unEstablishModule().

56 { return anyDebugEnabled_; }
bool edm::service::MessageLogger::debugEnabled ( ) const
inline

Definition at line 53 of file MessageLogger.h.

References debugEnabled_.

void MessageLogger::establish ( const char *  whichPhase)
private

Definition at line 489 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 anyDebugEnabled(), preFile(), preFileClose(), preSourceEvent(), and preSourceRunLumi().

490  {
491  MessageDrop* messageDrop = MessageDrop::instance();
492  messageDrop->setSinglet( state ); // Change Log 17
493  if (!anyDebugEnabled_) {
494  messageDrop->debugEnabled = false;
495  } else if (everyDebugEnabled_) {
496  messageDrop->debugEnabled = true;
497  } else {
498  messageDrop->debugEnabled =
499  debugEnabledModules_.count(state); // change log 8
500  }
501  std::map<const std::string,ELseverityLevel>::const_iterator it =
502  suppression_levels_.find(state); // change log 8
503  if ( it != suppression_levels_.end() ) {
504  messageDrop->debugEnabled = messageDrop->debugEnabled
505  && (it->second < ELseverityLevel::ELsev_success );
506  messageDrop->infoEnabled = (it->second < ELseverityLevel::ELsev_info );
507  messageDrop->warningEnabled = (it->second < ELseverityLevel::ELsev_warning );
508  messageDrop->errorEnabled = (it->second < ELseverityLevel::ELsev_error );
509  } else {
510  messageDrop->infoEnabled = true;
511  messageDrop->warningEnabled = true;
512  messageDrop->errorEnabled = true;
513  }
514  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::set< std::string > debugEnabledModules_
std::map< std::string, ELseverityLevel > suppression_levels_
void edm::service::MessageLogger::establishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private
void edm::service::MessageLogger::establishModule ( unsigned int  transitionIndex,
const ModuleCallingContext context,
const char *  whichPhase 
)
private
void edm::service::MessageLogger::fillErrorObj ( edm::ErrorObj obj) const
void MessageLogger::jobFailure ( )
private

Definition at line 904 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageLoggerQ::MLqSUM(), edm::MessageDrop::setSinglet(), and SummarizeInJobReport().

Referenced by anyDebugEnabled(), and MessageLogger().

905  {
906  MessageDrop* messageDrop = MessageDrop::instance();
907  messageDrop->setSinglet("jobFailure");
908  SummarizeInJobReport(); // Put summary info into Job Rep // change log 10
909  MessageLoggerQ::MLqSUM ( ); // trigger summary info. // change log 9
910  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
static void SummarizeInJobReport()
static void MLqSUM()
void MessageLogger::postBeginJob ( )
private

Definition at line 704 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

705  {
706  MessageDrop::instance()->runEvent = "BeforeEvents";
707  MessageDrop::instance()->setSinglet("AfterBeginJob"); // Change Log 17
708  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postEndJob ( )
private

Definition at line 897 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqSUM(), and SummarizeInJobReport().

Referenced by anyDebugEnabled(), and MessageLogger().

898  {
899  SummarizeInJobReport(); // Put summary info into Job Rep // change log 10
900  MessageLoggerQ::MLqSUM ( ); // trigger summary info. // change log 9
901  }
static void SummarizeInJobReport()
static void MLqSUM()
void MessageLogger::postEvent ( StreamContext const &  iContext)
private

Definition at line 745 of file MessageLogger.cc.

References edm::clearLoggedErrorsSummary(), edm::MessageDrop::instance(), edm::MessageDrop::runEvent, edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

746  {
747  edm::MessageDrop::instance()->runEvent = "PostProcessEvent";
748  edm::clearLoggedErrorsSummary(iContext.streamID().value());
749  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void clearLoggedErrorsSummary(unsigned int iStreamID)
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postFile ( std::string const &  ,
bool   
)
private

Definition at line 725 of file MessageLogger.cc.

References unEstablish().

Referenced by anyDebugEnabled(), and MessageLogger().

726  { unEstablish("AfterFile"); }
void unEstablish(const char *whichPhase)
void MessageLogger::postGlobalBeginLumi ( GlobalContext const &  )
private

Definition at line 874 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

875  {
876  edm::MessageDrop::instance()->runEvent = "PostGlobalBeginLumi";
877  edm::MessageDrop::instance()->setSinglet("PostGlobalBeginLumi"); // changelog 17
878  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postGlobalBeginRun ( GlobalContext const &  )
private

Definition at line 826 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

827  {
828  edm::MessageDrop::instance()->runEvent = "PostGlobalBeginRun";
829  edm::MessageDrop::instance()->setSinglet("PostGlobalBeginRun"); // changelog 17
830  // Note - module name had not been set here
831  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postGlobalEndLumi ( GlobalContext const &  )
private

Definition at line 890 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

891  {
892  edm::MessageDrop::instance()->runEvent = "PostGlobalEndLumi";
893  edm::MessageDrop::instance()->setSinglet("PostGlobalEndLumi"); // changelog 17
894  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postGlobalEndRun ( GlobalContext const &  )
private

Definition at line 857 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

858  {
859  edm::MessageDrop::instance()->runEvent = "PostGlobalEndRun";
860  edm::MessageDrop::instance()->setSinglet("PostGlobalEndRun"); // changelog 17
861  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postModuleBeginJob ( ModuleDescription const &  )
private

Definition at line 549 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

550  { unEstablishModule (iDescription, "AfterModBeginJob"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 575 of file MessageLogger.cc.

References edm::ModuleCallingContext::moduleDescription(), and unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

576  {
577  ModuleDescription const& desc = *mcc.moduleDescription();
578  unEstablishModule (desc, "AfterModBeginStream");
579  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleConstruction ( ModuleDescription const &  )
private

Definition at line 540 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

541  { //it is now guaranteed that this will be called even if the module throws
542  unEstablishModule (iDescription, "AfterModConstruction"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEndJob ( ModuleDescription const &  )
private

Definition at line 696 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

697  { unEstablishModule (iDescription, "AfterModEndJob"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 685 of file MessageLogger.cc.

References edm::ModuleCallingContext::moduleDescription(), and unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

686  {
687  ModuleDescription const& desc = *mcc.moduleDescription();
688  unEstablishModule (desc, "AfterModEndStream");
689  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 606 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

607  {
608  unEstablishModule(mod,"PostModuleEvent");
609  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleEventAcquire ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 618 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

619  {
620  unEstablishModule(mod,"PostModuleEventAcquire");
621  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalBeginLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 657 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

658  { unEstablishModule (mod, "AfterModGlobalBeginLumi"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 648 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

649  { unEstablishModule (mod, "AfterModGlobalBeginRun"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalEndLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 666 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

667  { unEstablishModule (mod, "AfterModGlobalEndLumi"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalEndRun ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 675 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

676  { unEstablishModule (mod, "AfterModGlobalEndRun"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 596 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

597  { unEstablishModule (mod, "AfterModStreamBeginLumi"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 587 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

588  { unEstablishModule (mod, "AfterModStreamBeginRun"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 629 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

630  { unEstablishModule (mod, "AfterModStreamEndLumi"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 638 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

639  { unEstablishModule (mod, "AfterModStreamEndRun"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postPathEvent ( StreamContext const &  ,
PathContext const &  ,
HLTPathStatus const &   
)
private

Definition at line 842 of file MessageLogger.cc.

References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

843  {
844  edm::MessageDrop::instance()->setSinglet("PostProcessPath"); // changelog 17
845  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
void MessageLogger::postSourceConstruction ( ModuleDescription const &  )
private

Definition at line 566 of file MessageLogger.cc.

References unEstablishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

567  { unEstablishModule (iDescription, "AfterSourceConstruction"); }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postSourceEvent ( StreamID  )
private

Definition at line 712 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and unEstablish().

Referenced by anyDebugEnabled(), and MessageLogger().

713  { unEstablish("AfterSource");
714  MessageDrop::instance()->runEvent = "AfterSource";
715  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void unEstablish(const char *whichPhase)
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postSourceRunLumi ( )
private

Definition at line 718 of file MessageLogger.cc.

References unEstablish().

Referenced by anyDebugEnabled(), and MessageLogger().

719  { unEstablish("AfterSource"); }
void unEstablish(const char *whichPhase)
void MessageLogger::postStreamBeginLumi ( StreamContext const &  )
private

Definition at line 794 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

795  {
796  edm::MessageDrop::instance()->runEvent = "PostStreamBeginLumi";
797  edm::MessageDrop::instance()->setSinglet("PostStreamBeginLumi"); // changelog 17
798  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postStreamBeginRun ( StreamContext const &  )
private

Definition at line 760 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

761  {
762  edm::MessageDrop::instance()->runEvent = "PostStreamBeginRun";
763  edm::MessageDrop::instance()->setSinglet("PostStreamBeginRun"); // changelog 17
764  // Note - module name had not been set here
765  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postStreamEndLumi ( StreamContext const &  )
private

Definition at line 810 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

811  {
812  edm::MessageDrop::instance()->runEvent = "PostStreamEndLumi";
813  edm::MessageDrop::instance()->setSinglet("PostStreamEndLumi"); // changelog 17
814  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::postStreamEndRun ( StreamContext const &  )
private

Definition at line 777 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), and MessageLogger().

778  {
779  edm::MessageDrop::instance()->runEvent = "PostStreamEndRun";
780  edm::MessageDrop::instance()->setSinglet("PostStreaEndRun"); // changelog 17
781  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preEvent ( StreamContext const &  iContext)
private

Definition at line 730 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

731  {
732  std::ostringstream ost;
733  auto const& id = iContext.eventID();
734  ost << "Run: " << id.run()
735  << " Event: " << id.event(); // change log 2
736  assert(iContext.streamID().value()<transitionInfoCache_.size());
737  transitionInfoCache_[iContext.streamID().value()]=ost.str();
738  edm::MessageDrop::instance()->runEvent = ost.str();
739  edm::MessageDrop::instance()->setSinglet("PreEventProcessing");// changelog 17
740  // Note - module name had not been set here Similarly in other places where
741  // RunEvent carries the new information; we add setSinglet for module name.
742  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preFile ( std::string const &  ,
bool   
)
private

Definition at line 721 of file MessageLogger.cc.

References establish().

Referenced by anyDebugEnabled(), and MessageLogger().

722  { establish("file_open"); }
void establish(const char *whichPhase)
void MessageLogger::preFileClose ( std::string const &  ,
bool   
)
private

Definition at line 723 of file MessageLogger.cc.

References establish().

Referenced by anyDebugEnabled(), and MessageLogger().

724  { establish("file_close"); }
void establish(const char *whichPhase)
void MessageLogger::preGlobalBeginLumi ( GlobalContext const &  iContext)
private

Definition at line 864 of file MessageLogger.cc.

References edm::MessageDrop::instance(), lumiInfoBegin_, edm::GlobalContext::luminosityBlockID(), edm::GlobalContext::luminosityBlockIndex(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), and transitionInfoCache_.

Referenced by anyDebugEnabled(), and MessageLogger().

865  {
866  std::ostringstream ost;
867  auto const& id = iContext.luminosityBlockID();
868  ost << "Run: " << id.run() << " Lumi: " << id.luminosityBlock();
869  transitionInfoCache_[lumiInfoBegin_+iContext.luminosityBlockIndex()]=ost.str();
870  edm::MessageDrop::instance()->runEvent = ost.str();
871  edm::MessageDrop::instance()->setSinglet("PreGlobalBeginLumi"); // changelog 17
872  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preGlobalBeginRun ( GlobalContext const &  iContext)
private

Definition at line 818 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, edm::GlobalContext::runIndex(), runInfoBegin_, edm::MessageDrop::setSinglet(), and transitionInfoCache_.

Referenced by anyDebugEnabled(), and MessageLogger().

819  {
820  std::ostringstream ost;
821  ost << "Run: " << iContext.luminosityBlockID().run();
822  transitionInfoCache_[runInfoBegin_+iContext.runIndex()]=ost.str();
823  edm::MessageDrop::instance()->runEvent = ost.str();
824  edm::MessageDrop::instance()->setSinglet("PreGlobalBeginRun"); // changelog 17
825  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preGlobalEndLumi ( GlobalContext const &  iContext)
private

Definition at line 881 of file MessageLogger.cc.

References edm::MessageDrop::instance(), lumiInfoBegin_, edm::GlobalContext::luminosityBlockID(), edm::GlobalContext::luminosityBlockIndex(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), and transitionInfoCache_.

Referenced by anyDebugEnabled(), and MessageLogger().

882  {
883  std::ostringstream ost;
884  auto const& id = iContext.luminosityBlockID();
885  ost << "Run: " << id.run() << " Lumi: " << id.luminosityBlock();
886  transitionInfoCache_[lumiInfoBegin_+iContext.luminosityBlockIndex()]=ost.str();
887  edm::MessageDrop::instance()->runEvent = ost.str();
888  edm::MessageDrop::instance()->setSinglet("PreGlobalEndLumi"); // changelog 17
889  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preGlobalEndRun ( GlobalContext const &  iContext)
private

Definition at line 848 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, edm::GlobalContext::runIndex(), runInfoBegin_, edm::MessageDrop::setSinglet(), and transitionInfoCache_.

Referenced by anyDebugEnabled(), and MessageLogger().

849  {
850  std::ostringstream ost;
851  ost << "End Run: " << iContext.luminosityBlockID().run();
852  transitionInfoCache_[runInfoBegin_+iContext.runIndex()]=ost.str();
853  edm::MessageDrop::instance()->runEvent = ost.str();
854  edm::MessageDrop::instance()->setSinglet("PreGlobalEndRun"); // changelog 17
855  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preModuleBeginJob ( ModuleDescription const &  )
private

Definition at line 545 of file MessageLogger.cc.

References establishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

546  {
547  establishModule (desc,"@beginJob"); // ChangeLog 13
548  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 570 of file MessageLogger.cc.

References establishModule(), and edm::ModuleCallingContext::moduleDescription().

Referenced by anyDebugEnabled(), and MessageLogger().

571  {
572  ModuleDescription const& desc = *mcc.moduleDescription();
573  establishModule (desc,"@beginStream"); // ChangeLog 13
574  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleConstruction ( ModuleDescription const &  )
private

Definition at line 527 of file MessageLogger.cc.

References edm::errors::Configuration, establishModule(), messageServicePSetHasBeenValidated_, and messageServicePSetValidatationResults_.

Referenced by anyDebugEnabled(), and MessageLogger().

528  {
529  if (!messageServicePSetHasBeenValidated_) { // change log 12
531  throw ( edm::Exception
534  ) );
535  }
537  }
538  establishModule (desc,"@ctor"); // ChangeLog 16
539  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
std::string messageServicePSetValidatationResults_
void MessageLogger::preModuleEndJob ( ModuleDescription const &  )
private

Definition at line 692 of file MessageLogger.cc.

References establishModule().

Referenced by anyDebugEnabled(), and MessageLogger().

693  {
694  establishModule (desc,"@endJob"); // ChangeLog 13
695  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 679 of file MessageLogger.cc.

References establishModule(), and edm::ModuleCallingContext::moduleDescription().

Referenced by anyDebugEnabled(), and MessageLogger().

680  {
681  ModuleDescription const& desc = *mcc.moduleDescription();
682  establishModule (desc,"@endStream"); // ChangeLog 13
683  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 600 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEvent, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

601  {
602  establishModule (stream.streamID().value(),mod,
603  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEvent)]);
604  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleEventAcquire ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 612 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEvent, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

613  {
614  establishModule (stream.streamID().value(),mod,
615  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEvent)]);
616  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalBeginLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 652 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kBeginLuminosityBlock, lumiInfoBegin_, edm::GlobalContext::luminosityBlockIndex(), mod(), and edm::LuminosityBlockIndex::value().

Referenced by anyDebugEnabled(), and MessageLogger().

653  {
654  establishModule (lumiInfoBegin_+ context.luminosityBlockIndex().value(),mod,
655  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginLuminosityBlock)]);
656  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 643 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kBeginRun, mod(), edm::GlobalContext::runIndex(), runInfoBegin_, and edm::RunIndex::value().

Referenced by anyDebugEnabled(), and MessageLogger().

644  {
645  establishModule (runInfoBegin_+ context.runIndex().value(),mod,
646  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginRun)]);
647  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalEndLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 661 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kEndLuminosityBlock, lumiInfoBegin_, edm::GlobalContext::luminosityBlockIndex(), mod(), and edm::LuminosityBlockIndex::value().

Referenced by anyDebugEnabled(), and MessageLogger().

662  {
663  establishModule (lumiInfoBegin_+ context.luminosityBlockIndex().value(),mod,
664  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndLuminosityBlock)]);
665  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalEndRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 670 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kEndRun, mod(), edm::GlobalContext::runIndex(), runInfoBegin_, and edm::RunIndex::value().

Referenced by anyDebugEnabled(), and MessageLogger().

671  {
672  establishModule (runInfoBegin_+ context.runIndex().value(), mod,
673  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndRun)]); // ChangeLog 13
674  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 591 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kBeginLuminosityBlock, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

592  {
593  establishModule (stream.streamID().value(),mod,
594  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kBeginLuminosityBlock)]);
595  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 582 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kBeginRun, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

583  {
584  establishModule (stream.streamID().value(),mod,
585  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kBeginRun)]);
586  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 624 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEndLuminosityBlock, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

625  {
626  establishModule (stream.streamID().value(),mod,
627  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEndLuminosityBlock)]);
628  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 633 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEndRun, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

634  {
635  establishModule (stream.streamID().value(),mod,
636  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEndRun)]); // ChangeLog 13
637  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::prePathEvent ( StreamContext const &  stream,
PathContext const &  iPath 
)
private

Definition at line 834 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::PathContext::pathName(), edm::StreamContext::streamID(), transitionInfoCache_, and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

835  {
836  auto messageDrop = edm::MessageDrop::instance();
837  messageDrop->runEvent = transitionInfoCache_[stream.streamID().value()];
838  messageDrop->setPath( "PreProcPath ", iPath.pathName());
839  // change log 17
840  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
std::vector< std::string > transitionInfoCache_
void MessageLogger::preSourceConstruction ( ModuleDescription const &  )
private

Definition at line 553 of file MessageLogger.cc.

References edm::errors::Configuration, establishModule(), messageServicePSetHasBeenValidated_, and messageServicePSetValidatationResults_.

Referenced by anyDebugEnabled(), and MessageLogger().

554  {
555  if (!messageServicePSetHasBeenValidated_) { // change log 12
557  throw ( edm::Exception
560  ) );
561  }
563  }
564  establishModule(desc,"@sourceConstruction"); // ChangeLog 16
565  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
std::string messageServicePSetValidatationResults_
void MessageLogger::preSourceEvent ( StreamID  )
private

Definition at line 710 of file MessageLogger.cc.

References establish().

Referenced by anyDebugEnabled(), and MessageLogger().

711  { establish("source"); }
void establish(const char *whichPhase)
void MessageLogger::preSourceRunLumi ( )
private

Definition at line 716 of file MessageLogger.cc.

References establish().

Referenced by anyDebugEnabled(), and MessageLogger().

717  { establish("source"); }
void establish(const char *whichPhase)
void MessageLogger::preStreamBeginLumi ( StreamContext const &  iContext)
private

Definition at line 784 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

785  {
786  std::ostringstream ost;
787  auto const& id = iContext.eventID();
788  ost << "Run: " << id.run() << " Lumi: " << id.luminosityBlock()<<" Stream: "<<iContext.streamID().value();
789  transitionInfoCache_[iContext.streamID().value()]=ost.str();
790  edm::MessageDrop::instance()->runEvent = ost.str();
791  edm::MessageDrop::instance()->setSinglet("PreStreamBeginLumi"); // changelog 17
792  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preStreamBeginRun ( StreamContext const &  iContext)
private

Definition at line 752 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

753  {
754  std::ostringstream ost;
755  ost << "Run: " << iContext.eventID().run()<<" Stream: "<<iContext.streamID().value();;
756  transitionInfoCache_[iContext.streamID().value()]=ost.str();
757  edm::MessageDrop::instance()->runEvent = ost.str();
758  edm::MessageDrop::instance()->setSinglet("PreStreamBeginRun"); // changelog 17
759  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preStreamEndLumi ( StreamContext const &  iContext)
private

Definition at line 801 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

802  {
803  std::ostringstream ost;
804  auto const& id = iContext.eventID();
805  ost << "Run: " << id.run() << " Lumi: " << id.luminosityBlock()<<" Stream: "<<iContext.streamID().value();;
806  transitionInfoCache_[iContext.streamID().value()]=ost.str();
807  edm::MessageDrop::instance()->runEvent = ost.str();
808  edm::MessageDrop::instance()->setSinglet("PreStreamEndLumi"); // changelog 17
809  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::preStreamEndRun ( StreamContext const &  iContext)
private

Definition at line 768 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, and edm::StreamID::value().

Referenced by anyDebugEnabled(), and MessageLogger().

769  {
770  std::ostringstream ost;
771  ost << "End Run: " << iContext.eventID().run()<<" Stream: "<<iContext.streamID().value();;
772  transitionInfoCache_[iContext.streamID().value()]=ost.str();
773  edm::MessageDrop::instance()->runEvent = ost.str();
774  edm::MessageDrop::instance()->setSinglet("PreStreamEndRun"); // changelog 17
775  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
std::vector< std::string > transitionInfoCache_
std::string runEvent
Definition: MessageDrop.h:103
void MessageLogger::SummarizeInJobReport ( )
static

Definition at line 918 of file MessageLogger.cc.

References fjrSummaryRequested_, edm::MessageLoggerQ::MLqJRS(), and edm::JobReport::reportMessageInfo().

Referenced by anyDebugEnabled(), jobFailure(), and postEndJob().

918  {
919  if ( fjrSummaryRequested_ ) {
920  std::map<std::string, double> * smp = new std::map<std::string, double> ();
921  MessageLoggerQ::MLqJRS ( smp );
922  Service<JobReport> reportSvc;
923  reportSvc->reportMessageInfo(*smp);
924  delete smp;
925  }
926  }
static void MLqJRS(std::map< std::string, double > *sum_p)
void reportMessageInfo(std::map< std::string, double > const &messageData)
Definition: JobReport.cc:592
void MessageLogger::unEstablish ( const char *  whichPhase)
private

Definition at line 517 of file MessageLogger.cc.

References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().

Referenced by anyDebugEnabled(), postFile(), postSourceEvent(), and postSourceRunLumi().

518  {
519  MessageDrop::instance()->setSinglet( state ); // Change Log 17
520  }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
void setSinglet(const char *sing)
Definition: MessageDrop.cc:204
void edm::service::MessageLogger::unEstablishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private
void edm::service::MessageLogger::unEstablishModule ( const ModuleCallingContext desc,
const char *  whichPhase 
)
private

Member Data Documentation

bool MessageLogger::anyDebugEnabled_ = false
staticprivate

Definition at line 166 of file MessageLogger.h.

Referenced by anyDebugEnabled(), establish(), and MessageLogger().

bool edm::service::MessageLogger::debugEnabled_
private

Definition at line 165 of file MessageLogger.h.

Referenced by debugEnabled().

std::set<std::string> edm::service::MessageLogger::debugEnabledModules_
private

Definition at line 163 of file MessageLogger.h.

Referenced by establish(), and MessageLogger().

bool MessageLogger::everyDebugEnabled_ = false
staticprivate

Definition at line 167 of file MessageLogger.h.

Referenced by establish(), and MessageLogger().

bool MessageLogger::fjrSummaryRequested_ = false
staticprivate

Definition at line 169 of file MessageLogger.h.

Referenced by MessageLogger(), and SummarizeInJobReport().

unsigned int edm::service::MessageLogger::lumiInfoBegin_ =0
private
bool edm::service::MessageLogger::messageServicePSetHasBeenValidated_
private

Definition at line 170 of file MessageLogger.h.

Referenced by preModuleConstruction(), and preSourceConstruction().

std::string edm::service::MessageLogger::messageServicePSetValidatationResults_
private

Definition at line 171 of file MessageLogger.h.

Referenced by MessageLogger(), preModuleConstruction(), and preSourceConstruction().

bool edm::service::MessageLogger::nonModule_debugEnabled
private

Definition at line 173 of file MessageLogger.h.

Referenced by MessageLogger().

bool edm::service::MessageLogger::nonModule_errorEnabled
private

Definition at line 176 of file MessageLogger.h.

Referenced by MessageLogger().

bool edm::service::MessageLogger::nonModule_infoEnabled
private

Definition at line 174 of file MessageLogger.h.

Referenced by MessageLogger().

bool edm::service::MessageLogger::nonModule_warningEnabled
private

Definition at line 175 of file MessageLogger.h.

Referenced by MessageLogger().

unsigned int edm::service::MessageLogger::runInfoBegin_ =0
private
std::map<std::string,ELseverityLevel> edm::service::MessageLogger::suppression_levels_
private

Definition at line 164 of file MessageLogger.h.

Referenced by establish(), and MessageLogger().

std::vector<std::string> edm::service::MessageLogger::transitionInfoCache_
private