FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
VOM::file_handler Class Reference
+ Inheritance diagram for VOM::file_handler:
+ Collaboration diagram for VOM::file_handler:

Public Member Functions

 file_handler (const std::string &ofile)
 
 ~file_handler ()
 
virtual void handle_message (const std::string &file, const int line, const std::string &function, const log_level_t &level, const std::string &message)
 Handle a log message. More...
 
- Public Member Functions inherited from VOM::log_t::handler
 handler ()=default
 Default Constructor. More...
 
virtual ~handler ()=default
 Default Destructor. More...
 

Detailed Description

Definition at line 145 of file logger.hpp.

Constructor & Destructor Documentation

◆ file_handler()

VOM::file_handler::file_handler ( const std::string &  ofile)

Definition at line 128 of file logger.cpp.

◆ ~file_handler()

VOM::file_handler::~file_handler ( )

Definition at line 133 of file logger.cpp.

Member Function Documentation

◆ handle_message()

void VOM::file_handler::handle_message ( const std::string &  file,
const int  line,
const std::string &  function,
const log_level_t level,
const std::string &  message 
)
virtual

Handle a log message.

Implements VOM::log_t::handler.

Definition at line 139 of file logger.cpp.

+ Here is the call graph for this function:

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