summaryrefslogtreecommitdiff
path: root/kernel/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/log.h')
-rw-r--r--kernel/log.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/log.h b/kernel/log.h
index 38f1219..62fe6ef 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -1,13 +1,14 @@
#ifndef FOOLOS_LOG_H
#define FOOLOS_LOG_H
+#include <stdbool.h>
+
#define FOOLOS_LOG_ERROR 5
#define FOOLOS_LOG_WARNING 4
#define FOOLOS_LOG_INFO 3
#define FOOLOS_LOG_DEBUG 2
#define FOOLOS_LOG_FINE 1
-void log(char *module_name, int prio, char *format_string, ...);
-void panic(char *module_name, char *format_string);
+void log(bool color,char *module_name, int prio, char *format_string, ...);
#endif