Logging foundation for typub based on tracing.
This crate provides:
- Re-exported
tracingmacros (debug!,info!,warn!,error!) - A custom
CliLayerfor CLI-formatted output with icons and colors - The
ProgressReportertrait for decoupling progress reporting from UI
Per [[ADR-0004]], this crate is Layer 0 (no internal typub dependencies).
Usage
use ;
// Structured logging with tracing
info!;
debug!;
warn!;
error!;
Initialization
Call init() at CLI startup to install the CLI subscriber:
init;