FD.io VPP  v20.09-64-g4f7b92f0a
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.

+ Here is the caller graph for this function:

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