Electroneum
el::Loggable Class Referenceabstract

Base of Easylogging++ friendly class. More...

#include <easylogging++.h>

Inheritance diagram for el::Loggable:

Public Member Functions

virtual ~Loggable (void)
 
virtual void log (el::base::type::ostream_t &) const =0
 

Friends

el::base::type::ostream_toperator<< (el::base::type::ostream_t &os, const Loggable &loggable)
 

Detailed Description

Base of Easylogging++ friendly class.

After inheriting this class publicly, implement pure-virtual function void log(std::ostream&) const

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

Constructor & Destructor Documentation

◆ ~Loggable()

virtual el::Loggable::~Loggable ( void  )
inlinevirtual

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

1588 {}

Member Function Documentation

◆ log()

virtual void el::Loggable::log ( el::base::type::ostream_t ) const
pure virtual

Friends And Related Function Documentation

◆ operator<<

el::base::type::ostream_t& operator<< ( el::base::type::ostream_t os,
const Loggable loggable 
)
friend

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

1591  {
1592  loggable.log(os);
1593  return os;
1594  }

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