#include <MessageLogger.h>
Public Member Functions | |
LogTrace_ (std::string const &id) | |
LogTrace_ () | |
LogTrace_ & | operator<< (std::ostream &(*f)(std::ostream &)) |
template<class T > | |
LogTrace_ & | operator<< (T const &t) |
LogTrace_ & | operator<< (std::ios_base &(*f)(std::ios_base &)) |
~LogTrace_ () | |
Private Attributes | |
std::auto_ptr< MessageSender > | ap |
bool | debugEnabled |
Definition at line 407 of file MessageLogger.h.
edm::LogTrace_::LogTrace_ | ( | std::string const & | id | ) | [explicit] |
Definition at line 130 of file MessageLogger.cc.
: ap( new MessageSender(ELsuccess,id,true) ) , debugEnabled(!MessageDrop::debugAlwaysSuppressed) //9/23/10 mf { }
edm::LogTrace_::LogTrace_ | ( | ) | [inline, explicit] |
Definition at line 411 of file MessageLogger.h.
: ap(), debugEnabled(false) {} // Change log 8
edm::LogTrace_::~LogTrace_ | ( | ) |
Definition at line 56 of file MessageLogger.cc.
{}
LogTrace_& edm::LogTrace_::operator<< | ( | T const & | t | ) | [inline] |
Definition at line 416 of file MessageLogger.h.
References ap, debugEnabled, edm::errors::LogicError, matplotRender::t, and edm::Exception::throwThis().
{ if (!debugEnabled) return *this; // Change log 8 if (ap.get()) (*ap) << t; else Exception::throwThis (edm::errors::LogicError,"operator << to stale copied LogTrace_ object"); return *this; }
LogTrace_& edm::LogTrace_::operator<< | ( | std::ios_base &(*)(std::ios_base &) | f | ) | [inline] |
Definition at line 430 of file MessageLogger.h.
References ap, debugEnabled, f, edm::errors::LogicError, and edm::Exception::throwThis().
{ if (!debugEnabled) return *this; // Change log 8 if (ap.get()) (*ap) << f; else Exception::throwThis (edm::errors::LogicError,"operator << to stale copied LogTrace_ object"); return *this; }
LogTrace_& edm::LogTrace_::operator<< | ( | std::ostream &(*)(std::ostream &) | f | ) | [inline] |
Definition at line 423 of file MessageLogger.h.
References ap, debugEnabled, f, edm::errors::LogicError, and edm::Exception::throwThis().
{ if (!debugEnabled) return *this; // Change log 8 if (ap.get()) (*ap) << f; else Exception::throwThis (edm::errors::LogicError,"operator << to stale copied LogTrace_ object"); return *this; }
std::auto_ptr<MessageSender> edm::LogTrace_::ap [private] |
Definition at line 439 of file MessageLogger.h.
Referenced by operator<<().
bool edm::LogTrace_::debugEnabled [private] |
Definition at line 440 of file MessageLogger.h.
Referenced by operator<<().