Metall  v0.29
A persistent memory allocator for data-centric analytics
logger_interface.h
Go to the documentation of this file.
1 #ifndef METALL_LOGGER_INTERFACE_H
2 #define METALL_LOGGER_INTERFACE_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
9 typedef enum metall_log_level {
23 
24 
31 void metall_log(metall_log_level lvl, const char *file_name, size_t line_no, const char *message);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif // METALL_LOGGER_INTERFACE_H
metall_log_level
Log message level.
Definition: logger_interface.h:9
@ metall_debug
Debug logger message.
Definition: logger_interface.h:19
@ metall_critical
Critical logger message.
Definition: logger_interface.h:11
@ metall_error
Error logger message.
Definition: logger_interface.h:13
@ metall_warning
Warning logger message.
Definition: logger_interface.h:15
@ metall_verbose
Verbose (lowest priority) logger message.
Definition: logger_interface.h:21
@ metall_info
Info logger message.
Definition: logger_interface.h:17
void metall_log(metall_log_level lvl, const char *file_name, size_t line_no, const char *message)
Implementation of logging behaviour.
Definition: logger.hpp:133