CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
cscdqm::LogCout Class Reference

Simple logger that prints stuff to std::cout. Use LOG_COUT macros instead, i.e. LOG_COUT << "x = " << x;. More...

#include <CSCDQM_Logger.h>

Inheritance diagram for cscdqm::LogCout:
cscdqm::Logger

Public Member Functions

 LogCout ()
 
template<class T >
LogCoutoperator<< (T const &t)
 
LogCoutoperator<< (std::ostream &(*f)(std::ostream &))
 
LogCoutoperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogCout ()
 

Detailed Description

Simple logger that prints stuff to std::cout. Use LOG_COUT macros instead, i.e. LOG_COUT << "x = " << x;.

Definition at line 132 of file CSCDQM_Logger.h.

Constructor & Destructor Documentation

cscdqm::LogCout::LogCout ( )
inline

Definition at line 134 of file CSCDQM_Logger.h.

134 {}
cscdqm::LogCout::~LogCout ( )
inline

Definition at line 135 of file CSCDQM_Logger.h.

References gather_cfg::cout.

135 { std::cout << std::endl; }
tuple cout
Definition: gather_cfg.py:144

Member Function Documentation

template<class T >
LogCout& cscdqm::LogCout::operator<< ( T const &  t)
inline

Definition at line 138 of file CSCDQM_Logger.h.

References gather_cfg::cout, and submitPVValidationJobs::t.

138  {
139  std::cout << t;
140  return *this;
141  }
tuple cout
Definition: gather_cfg.py:144
LogCout& cscdqm::LogCout::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 143 of file CSCDQM_Logger.h.

References gather_cfg::cout, and validate-o2o-wbm::f.

143  {
144  std::cout << f;
145  return *this;
146  }
tuple cout
Definition: gather_cfg.py:144
LogCout& cscdqm::LogCout::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 148 of file CSCDQM_Logger.h.

References gather_cfg::cout, and validate-o2o-wbm::f.

148  {
149  std::cout << f;
150  return *this;
151  }
tuple cout
Definition: gather_cfg.py:144