astral-sh/uv
uv-logging
crates/uv-logging/ configures the tracing subscriber, log levels, and --verbose
behaviors.
Purpose
uv emits a lot of structured events via tracing. The CLI exposes --verbose and
--quiet, env vars RUST_LOG, UV_LOG_FILE, etc. This crate centralizes the wiring so the
binary can call one initialization function.
Key abstractions
setup_logging— initializetracingwith the right filter, formatter, and writer.- Helpers for human-friendly vs. JSON formats.
- Optional
tracing-durations-exportintegration (gated behind a feature) for "where did the time go?" telemetry.
See also
uv-consolefor terminal interaction.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.