From 0b301a7ed041c85548b896418d926563e6eb0762 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 18 Sep 2024 01:08:04 -0500 Subject: core: logging: print errors and warnings in color Print warnings and errors in yellow and red respectively. This will make these messages stand out and make it easier for a developer to find them in the terminal window. Signed-off-by: Danny Holman --- include/rune/core/logging.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/rune/core/logging.h b/include/rune/core/logging.h index 6bb6470..91151bb 100644 --- a/include/rune/core/logging.h +++ b/include/rune/core/logging.h @@ -33,5 +33,7 @@ enum log_level { }; RAPI void log_output(int level, const char *fmt, ...); +RAPI void enable_log_debug(void); +RAPI void disable_log_debug(void); #endif -- cgit v1.2.3