mirror of
https://github.com/justinian/jsix.git
synced 2025-12-11 08:54:31 -08:00
[kernel] Change kernel log levels
The kernel log levels are now numerically reversed so that more-verbose levels can be added to the end. Replaced 'debug' with 'verbose', and added new 'spam' level.
This commit is contained in:
@@ -83,7 +83,7 @@ syscall_initialize(bool enable_test)
|
||||
indent = " "
|
||||
|
||||
cog.outl(f"{indent}syscall_registry[{id}] = reinterpret_cast<uintptr_t>(syscalls::_syscall_verify_{name});")
|
||||
cog.outl(f"""{indent}log::debug(logs::syscall, "Enabling syscall {id:02x} as {name}");""")
|
||||
cog.outl(f"""{indent}log::spam(logs::syscall, "Enabling syscall {id:02x} as {name}");""")
|
||||
|
||||
if "test" in method.options:
|
||||
cog.outl("}")
|
||||
|
||||
Reference in New Issue
Block a user