unversioned-interfaces
World unversioned-interfaces
- Imports:
- interface
wasi:logging/logging
- interface
Import interface wasi:logging/logging
WASI Logging is a logging API intended to let users emit log messages with simple priority levels and context values.
Types
enum level
A log level, describing a kind of message.
Enum Cases
-
Describes messages about the values of variables and the flow of control within a program.
-
Describes messages likely to be of interest to someone debugging a program.
-
Describes messages likely to be of interest to someone monitoring a program.
-
Describes messages indicating hazardous situations.
-
Describes messages indicating serious errors.
-
Describes messages indicating fatal errors.
Functions
log: func
Emit a log message.
A log message has a level
describing what kind of message is being
sent, a context, which is an uninterpreted string meant to help
consumers group similar messages, and a string containing the message
text.