Electroneum
el::base::NullWriter Class Reference

Writes nothing - Used when certain log is disabled. More...

#include <easylogging++.h>

Inheritance diagram for el::base::NullWriter:
Collaboration diagram for el::base::NullWriter:

Public Member Functions

 NullWriter (void)
 
NullWriteroperator<< (std::ostream &(*)(std::ostream &))
 
template<typename T >
NullWriteroperator<< (const T &)
 
 operator bool ()
 

Detailed Description

Writes nothing - Used when certain log is disabled.

Definition at line 3220 of file easylogging++.h.

Constructor & Destructor Documentation

◆ NullWriter()

el::base::NullWriter::NullWriter ( void  )
inline

Definition at line 3222 of file easylogging++.h.

3222 {}

Member Function Documentation

◆ operator bool()

el::base::NullWriter::operator bool ( )
inline

Definition at line 3234 of file easylogging++.h.

3234  {
3235  return true;
3236  }

◆ operator<<() [1/2]

NullWriter& el::base::NullWriter::operator<< ( std::ostream &  *)(std::ostream &)
inline

Definition at line 3225 of file easylogging++.h.

3225  {
3226  return *this;
3227  }

◆ operator<<() [2/2]

template<typename T >
NullWriter& el::base::NullWriter::operator<< ( const T )
inline

Definition at line 3230 of file easylogging++.h.

3230  {
3231  return *this;
3232  }

The documentation for this class was generated from the following file: