Expand description
Logging setup using tracing + tracing-subscriber.
Initializes a global tracing subscriber with two layers:
- File layer (always): writes to
~/.local/share/sonos/sonos.log, truncated per session. - Stderr layer (CLI only): writes to stderr. Disabled in TUI mode to avoid corrupting the display.
Functionsยง
- init_
logging - Initialize the global tracing subscriber.