summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-03-15 19:55:08 -0400
committerAndrew Opalach <andrew@akon.city> 2025-03-15 19:55:08 -0400
commit02c3cf915ed7eb50db3d16b3f3ade71ecb8872ef (patch)
treea32a8be0d3bfc79920de7fa95aaf98e2bc20fbee /src
parent7feaa9ec9090129f78b7aed868b6a0b4359e686c (diff)
downloadlibalabaster-02c3cf915ed7eb50db3d16b3f3ade71ecb8872ef.tar.gz
libalabaster-02c3cf915ed7eb50db3d16b3f3ade71ecb8872ef.tar.bz2
libalabaster-02c3cf915ed7eb50db3d16b3f3ade71ecb8872ef.zip
log: Add TRACE and new shorthands
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src')
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
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