CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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 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,
ELseverityLevel
suppression_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.

Member Function Documentation

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

Definition at line 56 of file MessageLogger.h.

bool edm::service::MessageLogger::debugEnabled ( ) const
inline

Definition at line 53 of file MessageLogger.h.

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

Definition at line 486 of file MessageLogger.cc.

void MessageLogger::establishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private

Definition at line 349 of file MessageLogger.cc.

void MessageLogger::establishModule ( unsigned int  transitionIndex,
const ModuleCallingContext context,
const char *  whichPhase 
)
private

Definition at line 385 of file MessageLogger.cc.

void edm::service::MessageLogger::fillErrorObj ( edm::ErrorObj obj) const
void MessageLogger::jobFailure ( )
private

Definition at line 887 of file MessageLogger.cc.

void MessageLogger::postBeginJob ( )
private

Definition at line 689 of file MessageLogger.cc.

void MessageLogger::postEndJob ( )
private

Definition at line 880 of file MessageLogger.cc.

void MessageLogger::postEvent ( StreamContext const &  iContext)
private

Definition at line 728 of file MessageLogger.cc.

void MessageLogger::postFile ( std::string const &  ,
bool   
)
private

Definition at line 708 of file MessageLogger.cc.

void MessageLogger::postGlobalBeginLumi ( GlobalContext const &  )
private

Definition at line 857 of file MessageLogger.cc.

void MessageLogger::postGlobalBeginRun ( GlobalContext const &  )
private

Definition at line 809 of file MessageLogger.cc.

void MessageLogger::postGlobalEndLumi ( GlobalContext const &  )
private

Definition at line 873 of file MessageLogger.cc.

void MessageLogger::postGlobalEndRun ( GlobalContext const &  )
private

Definition at line 840 of file MessageLogger.cc.

void MessageLogger::postModuleBeginJob ( ModuleDescription const &  iDescription)
private

Definition at line 546 of file MessageLogger.cc.

void MessageLogger::postModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 572 of file MessageLogger.cc.

void MessageLogger::postModuleConstruction ( ModuleDescription const &  iDescription)
private

Definition at line 537 of file MessageLogger.cc.

void MessageLogger::postModuleEndJob ( ModuleDescription const &  iDescription)
private

Definition at line 681 of file MessageLogger.cc.

void MessageLogger::postModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 670 of file MessageLogger.cc.

void MessageLogger::postModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 603 of file MessageLogger.cc.

void MessageLogger::postModuleGlobalBeginLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 642 of file MessageLogger.cc.

void MessageLogger::postModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 633 of file MessageLogger.cc.

void MessageLogger::postModuleGlobalEndLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 651 of file MessageLogger.cc.

void MessageLogger::postModuleGlobalEndRun ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 660 of file MessageLogger.cc.

void MessageLogger::postModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 593 of file MessageLogger.cc.

void MessageLogger::postModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 584 of file MessageLogger.cc.

void MessageLogger::postModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 614 of file MessageLogger.cc.

void MessageLogger::postModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 623 of file MessageLogger.cc.

void MessageLogger::postPathEvent ( StreamContext const &  ,
PathContext const &  ,
HLTPathStatus const &   
)
private

Definition at line 825 of file MessageLogger.cc.

void MessageLogger::postSourceConstruction ( ModuleDescription const &  iDescription)
private

Definition at line 563 of file MessageLogger.cc.

void MessageLogger::postSourceEvent ( StreamID  )
private

Definition at line 697 of file MessageLogger.cc.

void MessageLogger::postSourceRunLumi ( )
private

Definition at line 701 of file MessageLogger.cc.

void MessageLogger::postStreamBeginLumi ( StreamContext const &  )
private

Definition at line 777 of file MessageLogger.cc.

void MessageLogger::postStreamBeginRun ( StreamContext const &  )
private

Definition at line 743 of file MessageLogger.cc.

void MessageLogger::postStreamEndLumi ( StreamContext const &  )
private

Definition at line 793 of file MessageLogger.cc.

void MessageLogger::postStreamEndRun ( StreamContext const &  )
private

Definition at line 760 of file MessageLogger.cc.

void MessageLogger::preEvent ( StreamContext const &  iContext)
private

Definition at line 713 of file MessageLogger.cc.

void MessageLogger::preFile ( std::string const &  ,
bool   
)
private

Definition at line 704 of file MessageLogger.cc.

void MessageLogger::preFileClose ( std::string const &  ,
bool   
)
private

Definition at line 706 of file MessageLogger.cc.

void MessageLogger::preGlobalBeginLumi ( GlobalContext const &  iContext)
private

Definition at line 847 of file MessageLogger.cc.

void MessageLogger::preGlobalBeginRun ( GlobalContext const &  iContext)
private

Definition at line 801 of file MessageLogger.cc.

void MessageLogger::preGlobalEndLumi ( GlobalContext const &  iContext)
private

Definition at line 864 of file MessageLogger.cc.

void MessageLogger::preGlobalEndRun ( GlobalContext const &  iContext)
private

Definition at line 831 of file MessageLogger.cc.

void MessageLogger::preModuleBeginJob ( ModuleDescription const &  desc)
private

Definition at line 542 of file MessageLogger.cc.

void MessageLogger::preModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 567 of file MessageLogger.cc.

void MessageLogger::preModuleConstruction ( ModuleDescription const &  desc)
private

Definition at line 524 of file MessageLogger.cc.

void MessageLogger::preModuleEndJob ( ModuleDescription const &  desc)
private

Definition at line 677 of file MessageLogger.cc.

void MessageLogger::preModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 664 of file MessageLogger.cc.

void MessageLogger::preModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 597 of file MessageLogger.cc.

void MessageLogger::preModuleGlobalBeginLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 637 of file MessageLogger.cc.

void MessageLogger::preModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 628 of file MessageLogger.cc.

void MessageLogger::preModuleGlobalEndLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 646 of file MessageLogger.cc.

void MessageLogger::preModuleGlobalEndRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 655 of file MessageLogger.cc.

void MessageLogger::preModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 588 of file MessageLogger.cc.

void MessageLogger::preModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 579 of file MessageLogger.cc.

void MessageLogger::preModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 609 of file MessageLogger.cc.

void MessageLogger::preModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 618 of file MessageLogger.cc.

void MessageLogger::prePathEvent ( StreamContext const &  stream,
PathContext const &  iPath 
)
private

Definition at line 817 of file MessageLogger.cc.

void MessageLogger::preSourceConstruction ( ModuleDescription const &  desc)
private

Definition at line 550 of file MessageLogger.cc.

void MessageLogger::preSourceEvent ( StreamID  )
private

Definition at line 695 of file MessageLogger.cc.

void MessageLogger::preSourceRunLumi ( )
private

Definition at line 699 of file MessageLogger.cc.

void MessageLogger::preStreamBeginLumi ( StreamContext const &  iContext)
private

Definition at line 767 of file MessageLogger.cc.

void MessageLogger::preStreamBeginRun ( StreamContext const &  iContext)
private

Definition at line 735 of file MessageLogger.cc.

void MessageLogger::preStreamEndLumi ( StreamContext const &  iContext)
private

Definition at line 784 of file MessageLogger.cc.

void MessageLogger::preStreamEndRun ( StreamContext const &  iContext)
private

Definition at line 751 of file MessageLogger.cc.

void MessageLogger::SummarizeInJobReport ( )
static

Definition at line 901 of file MessageLogger.cc.

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

Definition at line 514 of file MessageLogger.cc.

void MessageLogger::unEstablishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private

Definition at line 429 of file MessageLogger.cc.

void MessageLogger::unEstablishModule ( const ModuleCallingContext desc,
const char *  whichPhase 
)
private

Definition at line 444 of file MessageLogger.cc.

Member Data Documentation

bool MessageLogger::anyDebugEnabled_ = false
staticprivate

Definition at line 163 of file MessageLogger.h.

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

Definition at line 162 of file MessageLogger.h.

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

Definition at line 160 of file MessageLogger.h.

bool MessageLogger::everyDebugEnabled_ = false
staticprivate

Definition at line 164 of file MessageLogger.h.

bool MessageLogger::fjrSummaryRequested_ = false
staticprivate

Definition at line 166 of file MessageLogger.h.

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

Definition at line 157 of file MessageLogger.h.

bool edm::service::MessageLogger::messageServicePSetHasBeenValidated_
private

Definition at line 167 of file MessageLogger.h.

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

Definition at line 168 of file MessageLogger.h.

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

Definition at line 170 of file MessageLogger.h.

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

Definition at line 173 of file MessageLogger.h.

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

Definition at line 171 of file MessageLogger.h.

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

Definition at line 172 of file MessageLogger.h.

unsigned int edm::service::MessageLogger::runInfoBegin_ =0
private

Definition at line 158 of file MessageLogger.h.

std::map<std::string,ELseverityLevel> edm::service::MessageLogger::suppression_levels_
private

Definition at line 161 of file MessageLogger.h.

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

Definition at line 156 of file MessageLogger.h.