#include <ErrorObj.h>
Public Member Functions | |
virtual void | clear () |
const std::string & | context () const |
virtual ErrorObj & | emitToken (std::string_view txt) |
ErrorObj (const messagelogger::ELseverityLevel &sev, std::string_view id, bool verbatim=false) | |
ErrorObj (const ErrorObj &orig) | |
template<typename... Args> | |
ErrorObj & | format (std::string_view fmt, Args const &... args) |
std::string | fullText () const |
const std::string & | idOverflow () const |
bool | is_verbatim () const |
const ELlist_string & | items () const |
ErrorObj & | operator<< (std::ostream &(*f)(std::ostream &)) |
ErrorObj & | operator<< (std::ios_base &(*f)(std::ios_base &)) |
ErrorObj & | operator= (const ErrorObj &other) |
template<class T > | |
ErrorObj & | opltlt (const T &t) |
ErrorObj & | opltlt (const char s[]) |
bool | reactedTo () const |
int | serial () const |
virtual void | set (const messagelogger::ELseverityLevel &sev, std::string_view id) |
virtual void | setContext (std::string_view context) |
virtual void | setID (std::string_view ID) |
virtual void | setModule (std::string_view module) |
virtual void | setReactedTo (bool r) |
virtual void | setSeverity (const messagelogger::ELseverityLevel &sev) |
virtual void | setSubroutine (std::string_view subroutine) |
void | swap (ErrorObj &other) |
time_t | timestamp () const |
const ELextendedID & | xid () const |
virtual | ~ErrorObj () |
Private Attributes | |
std::string | emptyString |
std::string | myContext |
std::string | myIdOverflow |
ELlist_string | myItems |
std::ostringstream | myOs |
bool | myReactedTo |
int | mySerial |
time_t | myTimestamp |
ELextendedID | myXid |
bool | verbatim |
Definition at line 43 of file ErrorObj.h.
edm::ErrorObj::ErrorObj | ( | const messagelogger::ELseverityLevel & | sev, |
std::string_view | id, | ||
bool | verbatim = false |
||
) |
Definition at line 83 of file ErrorObj.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, clear(), and triggerObjects_cff::id.
edm::ErrorObj::ErrorObj | ( | const ErrorObj & | orig | ) |
Definition at line 93 of file ErrorObj.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
|
virtual |
Definition at line 109 of file ErrorObj.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
|
virtual |
Definition at line 228 of file ErrorObj.cc.
References edm::ELextendedID::clear(), myIdOverflow, myItems, myReactedTo, mySerial, myTimestamp, and myXid.
Referenced by ErrorObj(), and set().
const std::string & edm::ErrorObj::context | ( | ) | const |
|
virtual |
Definition at line 192 of file ErrorObj.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, myItems, alignCSCRings::s, and setSubroutine().
Referenced by opltlt().
|
inline |
std::string edm::ErrorObj::fullText | ( | ) | const |
Definition at line 151 of file ErrorObj.cc.
References myItems, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
const std::string & edm::ErrorObj::idOverflow | ( | ) | const |
bool edm::ErrorObj::is_verbatim | ( | ) | const |
const ELlist_string & edm::ErrorObj::items | ( | ) | const |
Definition at line 145 of file ErrorObj.cc.
References myItems.
Referenced by DictTypes.SortedKeysDict::__repr__(), event.Event::__str__(), config.CFG::__str__(), generateEDF.LumiInfoCont::__str__(), generateEDF.LumiInfoCont::_integrateContainer(), submitPVValidationJobs.BetterConfigParser::exists(), crabConfigParser.CrabConfigParser::getSectionLines(), and python.rootplot.core.Options::kwarg_list().
|
inline |
|
inline |
Definition at line 116 of file ErrorObj.cc.
References trackingPlots::other, swap(), and groupFilesInBlocks::temp.
ErrorObj & edm::ErrorObj::opltlt | ( | const char | s[] | ) |
Definition at line 238 of file ErrorObj.cc.
References emitToken(), emptyString, myOs, alignCSCRings::s, and verbatim.
bool edm::ErrorObj::reactedTo | ( | ) | const |
int edm::ErrorObj::serial | ( | ) | const |
|
virtual |
Definition at line 217 of file ErrorObj.cc.
References clear(), mySerial, myTimestamp, edm::ourSerial(), setID(), setSeverity(), and protons_cff::time.
|
virtual |
Definition at line 177 of file ErrorObj.cc.
Referenced by edm::MessageSender::ErrorObjDeleter::operator()().
|
virtual |
Definition at line 169 of file ErrorObj.cc.
References edm::ELextendedID::id, edm::maxIDlength(), myIdOverflow, and myXid.
Referenced by edm::service::ThreadSafeLogMessageLoggerScribe::log(), set(), and edm::service::ThreadSafeLogMessageLoggerScribe::~ThreadSafeLogMessageLoggerScribe().
|
virtual |
Definition at line 175 of file ErrorObj.cc.
References edm::ELextendedID::module, callgraph::module, and myXid.
Referenced by edm::MessageSender::ErrorObjDeleter::operator()().
|
virtual |
|
virtual |
Definition at line 162 of file ErrorObj.cc.
References edm::ELdebug, edm::ELhighestSeverity, edm::ELsevere, edm::ELzeroSeverity, myXid, and edm::ELextendedID::severity.
Referenced by set().
|
virtual |
Definition at line 179 of file ErrorObj.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, myXid, and edm::ELextendedID::subroutine.
Referenced by emitToken().
void edm::ErrorObj::swap | ( | ErrorObj & | other | ) |
Definition at line 122 of file ErrorObj.cc.
References emptyString, myContext, myIdOverflow, myItems, myOs, myReactedTo, mySerial, myTimestamp, myXid, trackingPlots::other, AlCaHLTBitMon_QueryRunRegistry::string, std::swap(), groupFilesInBlocks::temp, and verbatim.
Referenced by operator=().
time_t edm::ErrorObj::timestamp | ( | ) | const |
const ELextendedID & edm::ErrorObj::xid | ( | ) | const |
Definition at line 142 of file ErrorObj.cc.
References myXid.
Referenced by edm::service::ThreadSafeLogMessageLoggerScribe::log(), edm::MessageSender::ErrorObjDeleter::operator()(), and edm::service::ThreadSafeLogMessageLoggerScribe::~ThreadSafeLogMessageLoggerScribe().
|
private |
Definition at line 102 of file ErrorObj.h.
|
private |
Definition at line 100 of file ErrorObj.h.
Referenced by context(), setContext(), and swap().
|
private |
Definition at line 96 of file ErrorObj.h.
Referenced by clear(), idOverflow(), setID(), and swap().
|
private |
Definition at line 98 of file ErrorObj.h.
Referenced by clear(), emitToken(), fullText(), items(), and swap().
|
private |
Definition at line 101 of file ErrorObj.h.
|
private |
Definition at line 99 of file ErrorObj.h.
Referenced by clear(), reactedTo(), setReactedTo(), and swap().
|
private |
|
private |
Definition at line 97 of file ErrorObj.h.
Referenced by clear(), set(), swap(), and timestamp().
|
private |
Definition at line 95 of file ErrorObj.h.
Referenced by clear(), setID(), setModule(), setSeverity(), setSubroutine(), swap(), and xid().
|
private |
Definition at line 103 of file ErrorObj.h.
Referenced by is_verbatim(), opltlt(), and swap().