pub fn default_output_stream() -> Box<StandardStream>
Expand description

Create the default output stream.

If stderr is attached to a tty, this is a colorized stderr, else it’s a plain (colorless) stderr.

Examples found in repository?
examples/custom_message.rs (line 6)
3
4
5
6
7
8
fn main() {
    BacktracePrinter::new()
        .message("Custom message!")
        .install(default_output_stream());
    assert_eq!(1, 2);
}