Expand description
tracing setup writing a daily-rolled log to logs/ next to the binary.
Two layers are installed:
- a non-blocking file writer producing
dicom-viewer.log.<YYYY-MM-DD>files (no ANSI colour, with target prefix); - the standard
tracing-subscriberfmt::layerfor stderr (socargo runshows the logs).
The filter respects RUST_LOG, defaulting to
info,wgpu_core=warn,wgpu_hal=warn,naga=warn when unset.
Functionsยง
- init
- Initialise global tracing.