From f079eba34b36b4d76e5009c6f25e2d1dff3ae372 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 2 Oct 2024 15:02:23 -0500 Subject: core: logging: make color output optional Add functions that toggle color output from the logging framework. Signed-off-by: Danny Holman --- include/rune/core/logging.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/rune') diff --git a/include/rune/core/logging.h b/include/rune/core/logging.h index 91151bb..df4ed7e 100644 --- a/include/rune/core/logging.h +++ b/include/rune/core/logging.h @@ -35,5 +35,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); +RAPI void enable_log_color(void); +RAPI void disable_log_color(void); #endif -- cgit v1.2.3