Expand description
Provides utility functions for creating and styling progress indicators and spinners in the console, ensuring a consistent look and feel for logging across the application.
This module leverages tracing and tracing_indicatif to associate progress bars
and spinners with logging spans.
Functions§
- best_
size - Calculates the best size from an iterator’s size hint.
- set_bar
- Sets up the given span to be styled as a progress bar.
- set_
sub_ task - Sets up the given span to be styled as a sub-task spinner.