cepgen is hosted by Hepforge, IPPP Durham
CepGen N/A
Central exclusive processes event generator

Placeholder for debugging messages if logging threshold is not reached. More...

#include <include/CepGen/Utils/Message.h>

+ Inheritance diagram for NullStream:
+ Collaboration diagram for NullStream:

Public Member Functions

 NullStream ()=default
 Empty constructor.
 
 NullStream (const LoggedMessage &)
 Empty constructor.
 
void dump (std::ostream *=nullptr) const override
 Dump the full exception information in a given output stream.
 
template<class T >
NullStreamoperator<< (const T &)
 Stream operator (null and void)
 
template<typename T >
NullStreamlog (T &&)
 Lambda function handler (null and void)
 
 Message ()=default
 Generic message constructor.
 

Static Public Member Functions

static std::string now ()
 Human-readable date/time.
 

Detailed Description

Date
Apr 2018

Definition at line 172 of file Message.h.

Constructor & Destructor Documentation

◆ NullStream() [1/2]

NullStream ( )
default

◆ NullStream() [2/2]

Definition at line 175 of file Message.h.

Member Function Documentation

◆ dump()

void dump ( std::ostream * os = nullptr) const
overridevirtual
Parameters
[in,out]osthe output stream where the information is dumped

Implements Message.

Definition at line 176 of file Message.h.

◆ log()

template<typename T >
NullStream & log ( T && )

Definition at line 184 of file Message.h.

◆ Message()

Message ( )
explicitdefault

◆ now()

static std::string now ( )
staticinherited

◆ operator<<()

template<class T >
NullStream & operator<< ( const T & )

Definition at line 179 of file Message.h.