diff options
| author | Miguel <m.i@gmx.at> | 2018-09-09 13:21:47 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-09 13:21:47 +0200 |
| commit | c2ef64149849fcae608b1c6010303eca86229d22 (patch) | |
| tree | 30d69313b6975a7c1bfc80859117124a6a5a10e7 /kernel/log.h | |
| parent | e85a68e1536a0f6505300e1cb79f06b9743b00f7 (diff) | |
cleaning logs, docs, interrupts
Diffstat (limited to 'kernel/log.h')
| -rw-r--r-- | kernel/log.h | 5 |
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 |
