CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::LogTrace_ Class Reference

#include <MessageLogger.h>

Public Member Functions

template<typename F >
LogTrace_log (F &&iF)
 
 LogTrace_ ()
 
 LogTrace_ (std::string const &id)
 
LogTrace_operator<< (std::ios_base &(*f)(std::ios_base &))
 
LogTrace_operator<< (std::ostream &(*f)(std::ostream &))
 
template<class T >
LogTrace_operator<< (T const &t)
 
 ~LogTrace_ ()
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 548 of file MessageLogger.h.

Constructor & Destructor Documentation

◆ LogTrace_() [1/2]

edm::LogTrace_::LogTrace_ ( )
inline

Definition at line 550 of file MessageLogger.h.

550 : ap() {}

◆ LogTrace_() [2/2]

edm::LogTrace_::LogTrace_ ( std::string const &  id)
explicit

Definition at line 130 of file MessageLogger.cc.

130 : ap(ELdebug, id, true) {}

◆ ~LogTrace_()

edm::LogTrace_::~LogTrace_ ( )

Definition at line 59 of file MessageLogger.cc.

59 {}

Member Function Documentation

◆ log()

template<typename F >
LogTrace_& edm::LogTrace_::log ( F &&  iF)
inline

Definition at line 573 of file MessageLogger.h.

573  {
574  if (ap.valid()) {
575  iF(ap);
576  }
577  return *this;
578  }

References ap, and edm::MessageSender::valid().

◆ operator<<() [1/3]

LogTrace_& edm::LogTrace_::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 565 of file MessageLogger.h.

565  {
566  if (ap.valid())
567  ap << f;
568  return *this;
569  }

References ap, f, and edm::MessageSender::valid().

◆ operator<<() [2/3]

LogTrace_& edm::LogTrace_::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 560 of file MessageLogger.h.

560  {
561  if (ap.valid())
562  ap << f;
563  return *this;
564  }

References ap, f, and edm::MessageSender::valid().

◆ operator<<() [3/3]

template<class T >
LogTrace_& edm::LogTrace_::operator<< ( T const &  t)
inline

Definition at line 555 of file MessageLogger.h.

555  {
556  if (ap.valid())
557  ap << t;
558  return *this;
559  }

References ap, OrderedSet::t, and edm::MessageSender::valid().

Member Data Documentation

◆ ap

MessageSender edm::LogTrace_::ap
private

Definition at line 581 of file MessageLogger.h.

Referenced by log(), and operator<<().

edm::LogTrace_::ap
MessageSender ap
Definition: MessageLogger.h:581
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
edm::MessageSender::valid
bool valid()
Definition: MessageSender.h:45
OrderedSet.t
t
Definition: OrderedSet.py:90
edm::ELdebug
const ELslProxy< ELdebugGen > ELdebug
Definition: ELseverityLevel.cc:290