diff options
Diffstat (limited to 'src/logging')
-rw-r--r-- | src/logging/logging.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logging/logging.h b/src/logging/logging.h index 2d50b67..c8a5864 100644 --- a/src/logging/logging.h +++ b/src/logging/logging.h @@ -28,5 +28,8 @@ void honey_log(enum honey_log_level_t required_level, #define honey_debug(...) honey_log(DEBUG, "[DEBUG]", __VA_ARGS__) #define honey_info(...) honey_log(INFO, "[INFO]", __VA_ARGS__) +#define honey_warn(...) honey_log(WARN, "[WARN]", __VA_ARGS__) +#define honey_error(...) honey_log(ERROR, "[ERROR]", __VA_ARGS__) +#define honey_fatal(...) honey_log(FATAL, "[FATAL]", __VA_ARGS__) #endif |