32 #ifdef ErrorLogEMIT_TRACE
51 #ifdef ErrorLogCONSTRUCTOR_TRACE
52 std::cout <<
"Constructor for ThreadSafeErrorLog\n";
63 #ifdef ErrorLogCONSTRUCTOR_TRACE
64 std::cout <<
"Constructor for ThreadSafeErrorLog (with pkgName = "
76 #ifdef ErrorLogCONSTRUCTOR_TRACE
77 std::cout <<
"Constructor for ThreadSafeErrorLog from ErrorLog\n";
85 , msgIsActive (ee.msgIsActive)
88 #ifdef ErrorLogCONSTRUCTOR_TRACE
89 std::cout <<
"Copy constructor for ThreadSafeErrorLog \n";
95 #ifdef ErrorLogCONSTRUCTOR_TRACE
96 std::cout <<
"Destructor for ThreadSafeErrorLog\n";
173 #ifdef ErrorLogENDMSG_TRACE
174 std::cout <<
"=:=:=: precautionary endmsg ( "
175 << sev.
getName() <<
", " <<
id <<
")\n";
215 std::ostringstream ost;
217 int m = (n<0) ? -n : n;
220 << std::hex << std::setw(8) << std::setfill(
'0')
228 std::ostringstream ost;
233 << std::hex << std::setw(8) << std::setfill(
'0')
241 std::ostringstream ost;
243 long m = (n<0) ? -n : n;
246 if ( static_cast<unsigned long>(n) > 0xFFFFFFFF
L ) width = 16;
248 << std::hex << std::setw(width) << std::setfill(
'0')
256 std::ostringstream ost;
259 (n >= static_cast<unsigned long>(
e.
hexTrigger)) ) {
261 if ( n > 0xFFFFFFFFL ) width = 16;
263 << std::hex << std::setw(width) << std::setfill(
'0')
271 std::ostringstream ost;
273 short m = (n<0) ? -n : n;
276 << std::hex << std::setw(4) << std::setfill(
'0')
284 std::ostringstream ost;
288 << std::hex << std::setw(4) << std::setfill(
'0')
302 bool updateProcess ( msg.
xid().
process .length() == 0 );
303 bool updateModule ( msg.
xid().
module .length() == 0 );
312 return ( updateProcess || updateModule || updateSubroutine );
318 "msgabort - MessageLogger tsErrorLog requested to abort");
340 std::cerr <<
"\nERROR LOGGED WITHOUT DESTINATION!\n";
341 std::cerr <<
"Attaching destination \"cerr\" to ELadministrator by default\n"
345 std::list<boost::shared_ptr<ELdestination> >::iterator d;
346 for ( d =
a->
sinks().begin(); d !=
a->
sinks().end(); ++d )
347 if ( (*d)->log( msg ) )
void setModule(const ELstring &modName)
std::list< boost::shared_ptr< ELdestination > > & sinks()
int severityCounts_[ELseverityLevel::nLevels]
virtual void set(const ELseverityLevel &sev, const ELstring &id)
void setDebugVerbosity(int debugVerbosity)
void setPackage(const ELstring &pkgName)
ELseverityLevel setDiscardThreshold(ELseverityLevel sev)
static PFTauRenderPlugin instance
virtual ErrorObj & emitToken(const ELstring &txt)
void swap(ErrorObj &other)
bool getELdestControl(const ELstring &name, ELdestControl &theDestControl) const
int setHexTrigger(int trigger)
ELslProxy< ELunspecifiedGen > const ELunspecified
virtual void setSubroutine(const ELstring &subroutine)
bool pokeMsg(edm::ErrorObj &msg)
ELslProxy< ELhighestSeverityGen > const ELhighestSeverity
ELseverityLevel setDiscardThreshold(ELseverityLevel sev)
virtual void setReactedTo(bool r)
void setProcess(const ELstring &procName)
const ELextendedID & xid() const
void setDebugMessages(ELseverityLevel sev, ELstring id)
ELseverityLevel discardThreshold
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
const ELstring getName() const
void setDebugMessages(ELseverityLevel sev, ELstring id)
void setSubroutine(const ELstring &subName)
void setSubroutine(const ELstring &subName)
void setDebugVerbosity(int debugVerbosity)
ELseverityLevel highSeverity_
bool getELdestControl(const ELstring &name, ELdestControl &theControl)
boost::shared_ptr< ELcontextSupplier > context_
void setModule(const ELstring &modName)
int setHexTrigger(int trigger)
void dispatch(edm::ErrorObj &msg)
virtual void setProcess(const ELstring &proc)
void initiateMsg(const ELseverityLevel &sev, const ELstring &id)
ELdestControl attach(const ELdestination &sink)
ELtsErrorLog & operator=(const ELtsErrorLog &)
const ELseverityLevel & abortThreshold() const
virtual void setModule(const ELstring &module)
void swap(ELtsErrorLog &)