Electroneum
Loading...
Searching...
No Matches
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.

@detail 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

Implemented in el::base::LogFormat, el::Configuration, and el::Logger.

Here is the caller graph for this function:

◆ 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:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/easylogging++/easylogging++.h