From b80514d80e957418f1ed30be4d143f0664b20122 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Sun, 12 Feb 2023 03:15:04 +0100 Subject: [PATCH] docs: documented log function format string update --- .wiki/Kernel-documentation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.wiki/Kernel-documentation.md b/.wiki/Kernel-documentation.md index 2f92109..14d3448 100644 --- a/.wiki/Kernel-documentation.md +++ b/.wiki/Kernel-documentation.md @@ -457,8 +457,9 @@ Functionalities to write logs to QEMU's serial port. - **Warning** - Used for warnings and not important errors - **Error** - Used for Fatal Errors / Will be printed to the screen (graphics driver is not Implemented yet) -#### `log(log_level, string)` - function (void) +#### `log(log_level, string, ...)` - function (void) Logs the given string to QEMU's log port, the string is prefixed with the log type. +Format strings are supported. ### math.h Mathematical functions, definitions, etc.