Added klog as a new logging system
* The logging system sends the message to both VGA and serial * The serial print uses color to indicate the category of the message Message Categories | Colours Debug Green Info Blue Error Red
This commit is contained in:
12
kernel/klog.h
Normal file
12
kernel/klog.h
Normal file
@ -0,0 +1,12 @@
|
||||
//
|
||||
// Created by nigel on 10/28/23.
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include "drivers/serial/serial.h"
|
||||
|
||||
|
||||
|
||||
void print_dbg(const char* message, ...);
|
||||
void print_info(const char* message, ...);
|
||||
void print_err(const char* message, ...);
|
Reference in New Issue
Block a user