summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-09-18 01:08:04 -0500
committerDanny Holman <dholman@gymli.org>2024-09-18 01:08:04 -0500
commit0b301a7ed041c85548b896418d926563e6eb0762 (patch)
treeecab05468e89e907a97ba2dfa154867bc373dbcc /include
parent43e60465a0b5686f3db71c87a1d73717d93e9964 (diff)
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 <dholman@gymli.org>
Diffstat (limited to 'include')
-rw-r--r--include/rune/core/logging.h2
1 files changed, 2 insertions, 0 deletions
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