From 02c3cf915ed7eb50db3d16b3f3ade71ecb8872ef Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sat, 15 Mar 2025 19:55:08 -0400 Subject: log: Add TRACE and new shorthands Signed-off-by: Andrew Opalach --- src/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/log.c b/src/log.c index 55dcad5..3c0466a 100644 --- a/src/log.c +++ b/src/log.c @@ -1,5 +1,4 @@ #include "../include/al/log.h" -#include "../include/al/macros.h" //#define AL_LOG_SKIP #define AL_LOG_TEMPLATE "%s:%d %s(): %s -> " @@ -21,7 +20,8 @@ static const char *levels[] = { [AL_LOG_INFO] = "info", [AL_LOG_WARN] = "warn", [AL_LOG_ERROR] = "error", - [AL_LOG_DEBUG] = "debug" + [AL_LOG_DEBUG] = "debug", + [AL_LOG_TRACE] = "trace" }; #ifndef AL_LOG_SKIP -- cgit v1.2.3-101-g0448