Expand description
Structured logging initialization and configuration.
This module provides centralized logging setup using the tracing ecosystem.
It supports both human-readable and JSON output formats, configurable via
environment variables.
§Configuration
Logging is controlled via the RUST_LOG environment variable:
# Default logging (info level)
RUST_LOG=info
# Debug level for heddle only
RUST_LOG=heddle=debug
# Trace everything
RUST_LOG=trace
# JSON output for machine parsing
RUST_LOG=info HEDDLE_LOG_FORMAT=jsonStructs§
Enums§
Functions§
- init_
logging - Initialize the global tracing subscriber.
- init_
logging_ default - is_
enabled