diff options
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/lib/logo.h | 6 | ||||
-rw-r--r-- | sys/include/sys/syslog.h | 16 |
2 files changed, 4 insertions, 18 deletions
diff --git a/sys/include/lib/logo.h b/sys/include/lib/logo.h index d3ba04a..c33d3d2 100644 --- a/sys/include/lib/logo.h +++ b/sys/include/lib/logo.h @@ -32,8 +32,8 @@ #define COPYRIGHT "Copyright (c) 2023-2024 Ian Marco Moffett and the Osmora Team." -#define PRINT_LOGO() \ - kprintf("%s v%s\n\n", g_logo, HYRA_VERSION); \ - kprintf("\t%s\n\n", COPYRIGHT); +#define PRINT_LOGO() \ + kprintf(OMIT_TIMESTAMP "%s v%s\n\n", g_logo, HYRA_VERSION); \ + kprintf(OMIT_TIMESTAMP "\t%s\n\n", COPYRIGHT); extern uint8_t g_logo[]; diff --git a/sys/include/sys/syslog.h b/sys/include/sys/syslog.h index 12febbc..18948ee 100644 --- a/sys/include/sys/syslog.h +++ b/sys/include/sys/syslog.h @@ -40,21 +40,7 @@ #if defined(_KERNEL) -#define KINFO(...) \ - kprintf("%s[info]: ", __THIS_MODULE); \ - kprintf(__VA_ARGS__); - -#define KWARN(...) \ - kprintf("%s[WARN]: ", __THIS_MODULE); \ - kprintf(__VA_ARGS__); - -#define KDEBUG(...) \ - kprintf("%s[debug]: ", __THIS_MODULE); \ - kprintf(__VA_ARGS__); - -#define KERR(...) \ - kprintf("%s[ERROR]: ", __THIS_MODULE); \ - kprintf(__VA_ARGS__); +#define OMIT_TIMESTAMP "\x01" void syslog_init(void); void syslog_init_proc(void); |