diff options
author | Danny Holman <dholman@gymli.org> | 2024-10-02 15:02:23 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-10-02 15:02:23 -0500 |
commit | f079eba34b36b4d76e5009c6f25e2d1dff3ae372 (patch) | |
tree | 78088648f377d4b8d4438b541240c6f44eea87cc /include/rune/core | |
parent | c840b1da6b0ea5ebf30eb028ecce6c47bcebf88c (diff) |
core: logging: make color output optional
Add functions that toggle color output from the logging framework.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'include/rune/core')
-rw-r--r-- | include/rune/core/logging.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |