42_KFS/headers/kprintf.h
0x35c 2e41858c77 feature: log level on kprintf (color)
fix: kprintf now uses concatenated strings for the flag
2024-09-20 12:40:36 +02:00

17 lines
363 B
C

#pragma once
#include <stdarg.h>
#define KERN_EMERG "0"
#define KERN_ALERT "1"
#define KERN_CRIT "2"
#define KERN_ERR "3"
#define KERN_WARNING "4"
#define KERN_NOTICE "5"
#define KERN_INFO "6"
#define KERN_DEBUG "7"
#define KERN_DEFAULT "8"
int kprintf(const char *restrict format, ...);
int kvprintf(const char *restrict format, va_list ap);