Module log

Source
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.