Metall  v0.29
A persistent memory allocator for data-centric analytics
logger_interface.h File Reference

Go to the source code of this file.

Enumerations

enum  metall_log_level {
  metall_critical = 5 , metall_error = 4 , metall_warning = 3 , metall_info = 2 ,
  metall_debug = 1 , metall_verbose = 0
}
 Log message level. More...
 

Functions

void metall_log (metall_log_level lvl, const char *file_name, size_t line_no, const char *message)
 Implementation of logging behaviour. More...
 

Enumeration Type Documentation

◆ metall_log_level

Log message level.

Enumerator
metall_critical 

Critical logger message.

metall_error 

Error logger message.

metall_warning 

Warning logger message.

metall_info 

Info logger message.

metall_debug 

Debug logger message.

metall_verbose 

Verbose (lowest priority) logger message.

Function Documentation

◆ metall_log()

void metall_log ( metall_log_level  lvl,
const char *  file_name,
size_t  line_no,
const char *  message 
)
inline

Implementation of logging behaviour.

If METALL_LOGGER_EXTERN_C is defined this function does not have an implementation and is intended to be implemented by consuming applications.

If it is not defined the default implementation is in metall/logger.hpp.