anstream

Function stderr

Source
pub fn stderr() -> Stderr
Available on crate feature auto only.
Expand description

Create an ANSI escape code compatible stderr

Note: Call AutoStream::lock in loops to avoid the performance hit of acquiring/releasing from the implicit locking in each std::io::Write call