Skip to main content

Module adapters

Module adapters 

Source
Expand description

Adapters layer - Concrete implementations of ports for external integrations

This module contains WASM-compatible implementations that connect our core domain to external systems like stdout, HTTP endpoints, and standard logging frameworks.

Structs§

CompactJsonFormatter
Compact JSON formatter (single line)
JsonFormatter
JSON formatter for structured logging output
LogDirectives
Parsed RUST_LOG-style directives for per-target log filtering.
LoggingSetupBuilder
Builder for creating a complete logging setup
NoOpTransport
No-op transport for testing/disabled logging
PlainTextFormatter
Plain text formatter for human-readable output
StandardLogAdapter
Standard logging adapter that hooks into Rust’s log crate
TracingIntegrationBuilder
Builder for creating tracing-integrated logging setup
TracingSubscriberAdapter
Tracing subscriber adapter for structured logging integration
UnifiedWasmStdoutAdapter
Extended WASM adapter that handles both logs and metrics with correlation
WasmContextAdapter
Thread-local context adapter (WASM-compatible)
WasmStdoutAdapter
WASM stdout transport adapter
WasmStdoutMetricsAdapter
Basic WASM stdout adapter for metrics (correlation-focused)