Expand description
Helpers to prevent progress bars from clobbering your console output.
Structs§
- Indicatif
Writer - A wrapper around
std::io::stdout()orstd::io::stderr()to ensure that output to either is not clobbered by active progress bars. This should be passed into tracing fmt’s layer so tracing log entries are not clobbered. - Stderr
- Marker for where the
IndicatifWritershould write to. - Stdout
- Marker for where the
IndicatifWritershould write to.
Traits§
Functions§
- get_
indicatif_ stderr_ writer - Returns the stderr writer (equivalent to
get_stderr_writer) of the registeredIndicatifLayerfor the current default tracing subscriber. - get_
indicatif_ stdout_ writer - Returns the stdout writer (equivalent to
get_stdout_writer) of the registeredIndicatifLayerfor the current default tracing subscriber.