diff --git a/src/dice/ffi/metall.h b/src/dice/ffi/metall.h index c7f4235..7689efd 100644 --- a/src/dice/ffi/metall.h +++ b/src/dice/ffi/metall.h @@ -12,6 +12,24 @@ extern "C" { #endif +#if !__has_include() +/// \brief Log message level +typedef enum metall_log_level { + /// \brief Critical logger message + metall_critical = 5, + /// \brief Error logger message + metall_error = 4, + /// \brief Warning logger message + metall_warning = 3, + /// \brief Info logger message + metall_info = 2, + /// \brief Debug logger message + metall_debug = 1, + /// \brief Verbose (lowest priority) logger message + metall_verbose = 0, +} metall_log_level; +#endif + typedef struct metall_manager metall_manager; /**