FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
VOM::log_t::handler Class Referenceabstract
+ Inheritance diagram for VOM::log_t::handler:

Public Member Functions

 handler ()=default
 Default Constructor. More...
 
virtual ~handler ()=default
 Default Destructor. More...
 
virtual void handle_message (const std::string &file, const int line, const std::string &function, const log_level_t &level, const std::string &message)=0
 Handle a log message. More...
 

Detailed Description

Definition at line 56 of file logger.hpp.

Constructor & Destructor Documentation

◆ handler()

VOM::log_t::handler::handler ( )
default

Default Constructor.

◆ ~handler()

virtual VOM::log_t::handler::~handler ( )
virtualdefault

Default Destructor.

Member Function Documentation

◆ handle_message()

virtual void VOM::log_t::handler::handle_message ( const std::string file,
const int  line,
const std::string function,
const log_level_t level,
const std::string message 
)
pure virtual

Handle a log message.

Implemented in VOM::cout_handler, and VOM::file_handler.


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