git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic PS/2 keyboard driver, and ...
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
syslog.h
diff --git
a/lunaix-os/includes/lunaix/syslog.h
b/lunaix-os/includes/lunaix/syslog.h
index 91e20036461e712cbfd10c83a3cecf1f9fcfb5ef..545a803b78dde1d1b53b11899de5013b73efabbd 100644
(file)
--- a/
lunaix-os/includes/lunaix/syslog.h
+++ b/
lunaix-os/includes/lunaix/syslog.h
@@
-6,10
+6,12
@@
#define _LEVEL_INFO "0"
#define _LEVEL_WARN "1"
#define _LEVEL_ERROR "2"
#define _LEVEL_INFO "0"
#define _LEVEL_WARN "1"
#define _LEVEL_ERROR "2"
+#define _LEVEL_DEBUG "3"
#define KINFO "\x1b" _LEVEL_INFO
#define KWARN "\x1b" _LEVEL_WARN
#define KERROR "\x1b" _LEVEL_ERROR
#define KINFO "\x1b" _LEVEL_INFO
#define KWARN "\x1b" _LEVEL_WARN
#define KERROR "\x1b" _LEVEL_ERROR
+#define KDEBUG "\x1b" _LEVEL_DEBUG
#define LOG_MODULE(module) \
static void kprintf(const char* fmt, ...) { \
#define LOG_MODULE(module) \
static void kprintf(const char* fmt, ...) { \