From af2aa2b1b7acb69c76e209e115bd154ceea519d5 Mon Sep 17 00:00:00 2001 From: Liss Heidrich <31625940+liss-h@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:01:24 +0200 Subject: [PATCH] fix --- src/dice/ffi/metall.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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; /**