Metall  v0.28
A persistent memory allocator for data-centric analytics
logger.hpp File Reference
#include <cstring>
#include <optional>
#include <sstream>
#include <metall/logger_interface.h>
#include <iostream>

Go to the source code of this file.

Classes

class  metall::logger
 
struct  metall::logger::level_filter
 determines the minimum level of messages that should be loggged More...
 

Namespaces

 metall
 The top level of namespace of Metall.
 

Functions

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

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.