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: intLog level
- Fatal
- Error
- Warn
- Info
- Debug
- Trace
- Stdout
- Stderr
log: opt[_]Log target and messagetarget: TextTarget namemessage: TextMessage to print
Traps
- If
messageis not valid UTF-8, or contains a NUL byte - If
targetis not valid UTF-8, or contains a NUL byte - If address at
message.addr + message.size - 1has no page - If address at
target.addr + target.size - 1has no page