0x00 - Log
Log a message with an associated target and log level, usually to help with debugging.
Readiness
Becomes ready once logging has completed (stopping the process after ready wouldn't result in a partially-formed log message).
Command: Log
Fields
[_; _]
level: int
Log level
- Fatal
- Error
- Warn
- Info
- Debug
- Trace
- Stdout
- Stderr
log: opt[_]
Log target and messagetarget: Text
Target namemessage: Text
Message to print
Traps
- If
message
is not valid UTF-8, or contains a NUL byte - If
target
is not valid UTF-8, or contains a NUL byte - If address at
message.addr + message.size - 1
has no page - If address at
target.addr + target.size - 1
has no page