anstream

Function stderr

Source
pub fn stderr() -> Stderr
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