Expand description
Structured logging plugin for WebAssembly components.
This plugin implements the wasi:logging/logging@0.1.0-draft interface,
providing components with structured logging capabilities. It bridges
component log messages to the host’s tracing infrastructure.
§Features
- Structured logging with multiple log levels
- Integration with Rust’s
tracingecosystem - Contextual logging with component identification
- Efficient log message routing
§Log Levels
The plugin supports the standard WASI logging levels:
- Trace: Detailed diagnostic information
- Debug: Debug-level messages
- Info: General informational messages
- Warn: Warning messages
- Error: Error messages
§Usage
Components can use the WASI logging interface to emit structured log messages that will be processed by the host’s logging infrastructure.
Structs§
- Wasi
Logging - WASI logging plugin that provides structured logging capabilities.