0x00 - Log
Log a message with an associated target and log level, usually to help with debugging.
Portal Channels
- Error Log Level
- Warn Log Level
- Info Log Level
- Debug Log Level
- Trace Log Level
Readiness
Becomes ready once logging has completed (stopping the process after ready wouldn't result in a partially-formed log message).
Command: Log
If no target is necessary, prefer empty target for traditional stdout/stderr
compatibility. Treat I
/D
/T
as stdout, and W
/E
/F
as stderr,
preferring I
and W
.
Fields
target: 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