docs: documented log function format string update

This commit is contained in:
antifallobst 2023-02-12 03:15:04 +01:00
parent 858bcfaebb
commit b80514d80e
1 changed files with 2 additions and 1 deletions

View File

@ -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.