CMS 3D CMS Logo

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

List of all members.

Public Member Functions

 LogCout ()
LogCoutoperator<< (std::ios_base &(*f)(std::ios_base &))
LogCoutoperator<< (std::ostream &(*f)(std::ostream &))
template<class T >
LogCoutoperator<< (T const &t)
 ~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 127 of file CSCDQM_Logger.h.


Constructor & Destructor Documentation

cscdqm::LogCout::LogCout ( ) [inline]

Definition at line 130 of file CSCDQM_Logger.h.

{ }
cscdqm::LogCout::~LogCout ( ) [inline]

Definition at line 131 of file CSCDQM_Logger.h.

References gather_cfg::cout.

{ std::cout << std::endl; }

Member Function Documentation

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

Definition at line 134 of file CSCDQM_Logger.h.

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

                                        { 
        std::cout << t;
        return *this; 
      }
LogCout& cscdqm::LogCout::operator<< ( std::ios_base &(*)(std::ios_base &)  f) [inline]

Definition at line 144 of file CSCDQM_Logger.h.

References gather_cfg::cout, and f.

                                                            { 
        std::cout << f;
        return *this; 
      }     
LogCout& cscdqm::LogCout::operator<< ( std::ostream &(*)(std::ostream &)  f) [inline]

Definition at line 139 of file CSCDQM_Logger.h.

References gather_cfg::cout, and f.

                                                         { 
        std::cout << f;
        return *this; 
      }