blob: fd43282ba4fe1445808f827d2b2b73d5de8dccd3 [file] [log] [blame]
swissChili35466392021-06-15 21:15:45 -07001Kernel Logging
2==============
3
4Drivers and other kernel components may write log messages to the default output
5(currently only VGA since it is the only display target implemented) using
6``kprintf`` in ``include/kernel/log.h``. Additional defines in the same file may
7help differentiate different types of log messages (i.e. errors, debug
8information, etc). ::
9
10 kprintf(OKAY "Something succeeded\n");
11 kprintf(ERROR "Something failed :(\n");
12 // etc, see log.h for details