#include <MessageDrop.h>
Public Member Functions | |
void | clear () |
std::string | moduleContext () |
void | setModuleWithPhase (std::string const &name, std::string const &label, unsigned int moduleID, const char *phase) |
void | setPath (const char *type, std::string const &pathname) |
void | setSinglet (const char *sing) |
~MessageDrop () | |
Static Public Member Functions | |
static MessageDrop * | instance () |
Public Attributes | |
bool | debugEnabled |
bool | errorEnabled |
bool | infoEnabled |
std::string | runEvent |
unsigned int | streamID |
bool | warningEnabled |
Static Public Attributes | |
static CMS_THREAD_SAFE bool | debugAlwaysSuppressed =false |
static CMS_THREAD_SAFE bool | infoAlwaysSuppressed =false |
static CMS_THREAD_SAFE std::string | jobMode {} |
static CMS_THREAD_SAFE unsigned char | messageLoggerScribeIsRunning = 0 |
static CMS_THREAD_SAFE bool | warningAlwaysSuppressed =false |
Private Member Functions | |
MessageDrop () | |
MessageDrop (MessageDrop const &) | |
MessageDrop & | operator= (MessageDrop const &) |
Definition at line 84 of file MessageDrop.h.
|
private |
Definition at line 170 of file MessageDrop.cc.
|
private |
MessageDrop::~MessageDrop | ( | ) |
Definition at line 184 of file MessageDrop.cc.
References spPath, spSinglet, and spWithPhase.
void MessageDrop::clear | ( | void | ) |
Definition at line 212 of file MessageDrop.cc.
References setSinglet().
Referenced by edm::clearMessageLog().
|
static |
Definition at line 60 of file MessageDrop.cc.
Referenced by edm::clearMessageLog(), edm::service::MessageLogger::establish(), edm::service::MessageLogger::establishModule(), edm::FlushMessageLog(), edm::isDebugEnabled(), edm::isErrorEnabled(), edm::isInfoEnabled(), edm::isMessageProcessingSetUp(), edm::isWarningEnabled(), edm::service::MessageLogger::jobFailure(), edm::service::MessageLogger::MessageLogger(), edm::MessageSender::ErrorObjDeleter::operator()(), edm::service::MessageLogger::postBeginJob(), edm::service::MessageLogger::postEvent(), edm::service::MessageLogger::postGlobalBeginLumi(), edm::service::MessageLogger::postGlobalBeginRun(), edm::service::MessageLogger::postGlobalEndLumi(), edm::service::MessageLogger::postGlobalEndRun(), edm::service::MessageLogger::postPathEvent(), edm::service::MessageLogger::postStreamBeginLumi(), edm::service::MessageLogger::postStreamBeginRun(), edm::service::MessageLogger::postStreamEndLumi(), edm::service::MessageLogger::postStreamEndRun(), edm::service::MessageLogger::preEvent(), edm::service::MessageLogger::preGlobalBeginLumi(), edm::service::MessageLogger::preGlobalBeginRun(), edm::service::MessageLogger::preGlobalEndLumi(), edm::service::MessageLogger::preGlobalEndRun(), edm::service::MessageLogger::prePathEvent(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginRun(), edm::service::MessageLogger::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndRun(), RPCUnpackingModule::produce(), SiPixelRawToDigi::produce(), SiPixelDigiToRaw::produce(), RPCRecordFormatter::recordUnpack(), edm::service::MessageLoggerScribe::run(), run_app(), edm::service::MessageLoggerScribe::runCommand(), edm::service::SingleThreadMSPresence::SingleThreadMSPresence(), edm::service::MessageLogger::unEstablish(), and edm::service::MessageLogger::unEstablishModule().
std::string MessageDrop::moduleContext | ( | ) |
Definition at line 209 of file MessageDrop.cc.
References moduleNameProducer, and edm::messagedrop::StringProducer::theContext().
Referenced by edm::MessageSender::ErrorObjDeleter::operator()().
|
private |
void MessageDrop::setModuleWithPhase | ( | std::string const & | name, |
std::string const & | label, | ||
unsigned int | moduleID, | ||
const char * | phase | ||
) |
Definition at line 191 of file MessageDrop.cc.
References moduleNameProducer, edm::messagedrop::StringProducerWithPhase::set(), and spWithPhase.
Referenced by edm::service::MessageLogger::establishModule().
void MessageDrop::setPath | ( | const char * | type, |
std::string const & | pathname | ||
) |
Definition at line 199 of file MessageDrop.cc.
References moduleNameProducer, edm::messagedrop::StringProducerPath::set(), and spPath.
void MessageDrop::setSinglet | ( | const char * | sing | ) |
Definition at line 204 of file MessageDrop.cc.
References moduleNameProducer, edm::messagedrop::StringProducerSinglet::set(), and spSinglet.
Referenced by clear(), edm::service::MessageLogger::establish(), edm::service::MessageLogger::jobFailure(), edm::service::MessageLogger::postBeginJob(), edm::service::MessageLogger::postGlobalBeginLumi(), edm::service::MessageLogger::postGlobalBeginRun(), edm::service::MessageLogger::postGlobalEndLumi(), edm::service::MessageLogger::postGlobalEndRun(), edm::service::MessageLogger::postPathEvent(), edm::service::MessageLogger::postStreamBeginLumi(), edm::service::MessageLogger::postStreamBeginRun(), edm::service::MessageLogger::postStreamEndLumi(), edm::service::MessageLogger::postStreamEndRun(), edm::service::MessageLogger::preEvent(), edm::service::MessageLogger::preGlobalBeginLumi(), edm::service::MessageLogger::preGlobalBeginRun(), edm::service::MessageLogger::preGlobalEndLumi(), edm::service::MessageLogger::preGlobalEndRun(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginRun(), edm::service::MessageLogger::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndRun(), edm::service::MessageLogger::unEstablish(), and edm::service::MessageLogger::unEstablishModule().
|
static |
Definition at line 111 of file MessageDrop.h.
Referenced by edm::service::ThreadSafeLogMessageLoggerScribe::configure_dest(), edm::service::MessageLoggerScribe::configure_dest(), edm::service::ThreadSafeLogMessageLoggerScribe::configure_ordinary_destinations(), edm::service::MessageLoggerScribe::configure_ordinary_destinations(), and edm::isDebugEnabled().
bool edm::MessageDrop::debugEnabled |
Definition at line 104 of file MessageDrop.h.
Referenced by edm::service::MessageLogger::establish(), edm::service::MessageLogger::establishModule(), edm::service::MessageLogger::MessageLogger(), RPCUnpackingModule::produce(), SiPixelRawToDigi::produce(), SiPixelDigiToRaw::produce(), RPCRecordFormatter::recordUnpack(), and edm::service::MessageLogger::unEstablishModule().
bool edm::MessageDrop::errorEnabled |
Definition at line 107 of file MessageDrop.h.
Referenced by edm::service::MessageLogger::establish(), edm::service::MessageLogger::establishModule(), edm::isErrorEnabled(), edm::service::MessageLogger::MessageLogger(), and edm::service::MessageLogger::unEstablishModule().
|
static |
Definition at line 112 of file MessageDrop.h.
Referenced by edm::service::ThreadSafeLogMessageLoggerScribe::configure_dest(), edm::service::MessageLoggerScribe::configure_dest(), edm::service::ThreadSafeLogMessageLoggerScribe::configure_ordinary_destinations(), edm::service::MessageLoggerScribe::configure_ordinary_destinations(), and edm::isInfoEnabled().
bool edm::MessageDrop::infoEnabled |
Definition at line 105 of file MessageDrop.h.
Referenced by edm::service::MessageLogger::establish(), edm::service::MessageLogger::establishModule(), edm::service::MessageLogger::MessageLogger(), and edm::service::MessageLogger::unEstablishModule().
|
static |
Definition at line 109 of file MessageDrop.h.
Referenced by edm::service::MessageLogger::MessageLogger().
|
static |
Definition at line 110 of file MessageDrop.h.
Referenced by edm::service::MessageLoggerScribe::run(), run_app(), edm::service::MessageLoggerScribe::runCommand(), and edm::service::SingleThreadMSPresence::SingleThreadMSPresence().
|
private |
Definition at line 118 of file MessageDrop.h.
Referenced by moduleContext(), setModuleWithPhase(), setPath(), and setSinglet().
std::string edm::MessageDrop::runEvent |
Definition at line 102 of file MessageDrop.h.
Referenced by edm::service::MessageLogger::establishModule(), edm::MessageSender::ErrorObjDeleter::operator()(), edm::service::MessageLogger::postBeginJob(), edm::service::MessageLogger::postEvent(), edm::service::MessageLogger::postGlobalBeginLumi(), edm::service::MessageLogger::postGlobalBeginRun(), edm::service::MessageLogger::postGlobalEndLumi(), edm::service::MessageLogger::postGlobalEndRun(), edm::service::MessageLogger::postStreamBeginLumi(), edm::service::MessageLogger::postStreamBeginRun(), edm::service::MessageLogger::postStreamEndLumi(), edm::service::MessageLogger::postStreamEndRun(), edm::service::MessageLogger::preEvent(), edm::service::MessageLogger::preGlobalBeginLumi(), edm::service::MessageLogger::preGlobalBeginRun(), edm::service::MessageLogger::preGlobalEndLumi(), edm::service::MessageLogger::preGlobalEndRun(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginRun(), edm::service::MessageLogger::preStreamEndLumi(), and edm::service::MessageLogger::preStreamEndRun().
|
private |
Definition at line 116 of file MessageDrop.h.
Referenced by setPath(), and ~MessageDrop().
|
private |
Definition at line 117 of file MessageDrop.h.
Referenced by setSinglet(), and ~MessageDrop().
|
private |
Definition at line 115 of file MessageDrop.h.
Referenced by setModuleWithPhase(), and ~MessageDrop().
unsigned int edm::MessageDrop::streamID |
Definition at line 103 of file MessageDrop.h.
Referenced by edm::service::MessageLogger::establishModule(), edm::MessageSender::ErrorObjDeleter::operator()(), and edm::service::MessageLogger::unEstablishModule().
|
static |
Definition at line 113 of file MessageDrop.h.
Referenced by edm::service::ThreadSafeLogMessageLoggerScribe::configure_dest(), edm::service::MessageLoggerScribe::configure_dest(), edm::service::ThreadSafeLogMessageLoggerScribe::configure_ordinary_destinations(), edm::service::MessageLoggerScribe::configure_ordinary_destinations(), and edm::isWarningEnabled().
bool edm::MessageDrop::warningEnabled |
Definition at line 106 of file MessageDrop.h.
Referenced by edm::service::MessageLogger::establish(), edm::service::MessageLogger::establishModule(), edm::service::MessageLogger::MessageLogger(), and edm::service::MessageLogger::unEstablishModule().