Expand description
Logging for WebAsssembly application
This module is mostly re-export of the log crate. The most
important exception is that logging is expected to be controlled from host.
So logger and max-level changes are allowed via this API.
Macros§
- debug
- Logs a message at the debug level.
- error
- Logs a message at the error level.
- info
- Logs a message at the info level.
- log
- The standard logging macro.
- log_
enabled - Determines if a message logged at the specified level in that module will be logged.
- trace
- Logs a message at the trace level.
- warn
- Logs a message at the warn level.
Structs§
- Metadata
- Metadata about a log message.
- Metadata
Builder - Builder for
Metadata. - Record
- The “payload” of a log message.
- Record
Builder - Builder for
Record.
Enums§
- Level
- An enum representing the available verbosity levels of the logger.
- Level
Filter - An enum representing the available verbosity level filters of the logger.
Constants§
- STATIC_
MAX_ LEVEL - The statically resolved maximum log level.