GNU Radio Manual and C++ API Reference 3.7.14.0
The Free & Open Software Radio Ecosystem
gr::log::backend Class Referenceabstract

#include <gnuradio/log/backend.h>

Public Member Functions

virtual bool log (const entry &what)=0
 
virtual const std::string description ()=0
 
virtual bool flush ()=0
 Return a description of the logger. More...
 
virtual ~backend ()=default
 Flush the logging state out. More...
 

Detailed Description

Logging backend base class

Constructor & Destructor Documentation

◆ ~backend()

virtual gr::log::backend::~backend ( )
virtualdefault

Flush the logging state out.

Member Function Documentation

◆ description()

virtual const std::string gr::log::backend::description ( )
pure virtual

Implemented in gr::log::stderr_backend.

◆ flush()

virtual bool gr::log::backend::flush ( )
pure virtual

Return a description of the logger.

Implemented in gr::log::stderr_backend.

◆ log()

virtual bool gr::log::backend::log ( const entry &  what)
pure virtual

logging operation

Parameters
whatthe log entry to log
Returns
bool representing success of the logging operation

Implemented in gr::log::stderr_backend.


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