CMS 3D CMS Logo

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

#include <MessageLogger.h>

Public Member Functions

template<typename F >
LogSystemlog (F &&iF)
 
 LogSystem (std::string const &id)
 
LogSystemoperator<< (std::ios_base &(*f)(std::ios_base &))
 
LogSystemoperator<< (std::ostream &(*f)(std::ostream &))
 
template<class T >
LogSystemoperator<< (T const &t)
 
 ~LogSystem ()
 

Private Member Functions

 LogSystem (LogSystem const &)=delete
 
LogSystemoperator= (LogSystem const &)=delete
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 222 of file MessageLogger.h.

Constructor & Destructor Documentation

◆ LogSystem() [1/2]

edm::LogSystem::LogSystem ( std::string const &  id)
inlineexplicit

Definition at line 224 of file MessageLogger.h.

224 : ap(ELsevere, id) {}

◆ ~LogSystem()

edm::LogSystem::~LogSystem ( )

Definition at line 56 of file MessageLogger.cc.

56 {}

◆ LogSystem() [2/2]

edm::LogSystem::LogSystem ( LogSystem const &  )
privatedelete

Member Function Documentation

◆ log()

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

Definition at line 242 of file MessageLogger.h.

242  {
243  iF(ap);
244  return *this;
245  }

References ap.

◆ operator<<() [1/3]

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

Definition at line 236 of file MessageLogger.h.

236  {
237  ap << f;
238  return *this;
239  }

References ap, and f.

◆ operator<<() [2/3]

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

Definition at line 232 of file MessageLogger.h.

232  {
233  ap << f;
234  return *this;
235  }

References ap, and f.

◆ operator<<() [3/3]

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

Definition at line 228 of file MessageLogger.h.

228  {
229  ap << t;
230  return *this;
231  }

References ap, and OrderedSet::t.

◆ operator=()

LogSystem& edm::LogSystem::operator= ( LogSystem const &  )
privatedelete

Member Data Documentation

◆ ap

MessageSender edm::LogSystem::ap
private

Definition at line 248 of file MessageLogger.h.

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

edm::LogSystem::ap
MessageSender ap
Definition: MessageLogger.h:248
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
OrderedSet.t
t
Definition: OrderedSet.py:90
edm::ELsevere
const ELslProxy< ELsevereGen > ELsevere
Definition: ELseverityLevel.cc:320