FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
logger.hpp File Reference
+ Include dependency graph for logger.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  VOM::log_level_t
 
class  VOM::log_t
 Ideally we'd use the boost logger but that is not prevelent in many distros. More...
 
class  VOM::log_t::handler
 
class  VOM::log_t::entry
 An entry in the log. More...
 
class  VOM::file_handler
 
class  VOM::cout_handler
 

Namespaces

 VOM
 The VPP Object Model (VOM) library.
 

Macros

#define VOM_LOG(lvl)
 

Functions

log_t & VOM::logger ()
 Return a log object into which VPP objects can write. More...
 

Macro Definition Documentation

◆ VOM_LOG

#define VOM_LOG (   lvl)
Value:
if (lvl >= logger().level()) \
log_t::entry(__FILE__, __FUNCTION__, __LINE__, lvl).stream()

Definition at line 181 of file logger.hpp.

VOM::logger
log_t & logger()
Return a log object into which VPP objects can write.
Definition: logger.cpp:39