Expand description
Observability module for logging and tracing initialization.
This module provides unified initialization for logging (via tracing) and
optional distributed tracing (via OpenTelemetry). It supports injecting
custom platform-specific layers (e.g., Android Logcat, iOS os_log) while
providing a sensible default (stderr fmt layer) when none is provided.
Structs§
- Observability
Guard - Guard for observability resources. Shuts down tracing exporter on drop.
Functions§
- init_
observability - Initialize logging + (optional) tracing subscriber with default fmt layer.
- init_
observability_ with_ layer - Initialize logging + (optional) tracing subscriber with a custom platform layer.