7 #include <acess_logging.h>
9 #define PUTERR(col,type) {\
10 fprintf(stderr, "\e["col"m[%-8.8s]"type" ", Ident); \
11 va_list args; va_start(args, Message);\
12 vfprintf(stderr, Message, args);\
14 fprintf(stderr, "\e[0m\n"); \
18 void Log_KernelPanic(const char *Ident, const char *Message, ...) {
22 void Log_Panic(const char *Ident, const char *Message, ...)
24 void Log_Error(const char *Ident, const char *Message, ...)
26 void Log_Warning(const char *Ident, const char *Message, ...)
28 void Log_Notice(const char *Ident, const char *Message, ...)
30 void Log_Log(const char *Ident, const char *Message, ...)
32 void Log_Debug(const char *Ident, const char *Message, ...)
35 void Warning(const char *Message, ...) {
36 const char *Ident = "WARNING";
39 void Log(const char *Message, ...) {
40 const char *Ident = "LOGLOG";
44 void Debug_HexDump(const char *Prefix, size_t Length, const void *Data)