Struct log4rs::encode::writer::ansi::AnsiWriter [] [src]

pub struct AnsiWriter<W>(pub W);

An encode::Writer that wraps an io::Writer, emitting ANSI escape codes for text style.

Trait Implementations

impl<W: Debug> Debug for AnsiWriter<W>
[src]

Formats the value using the given formatter.

impl<W: Write> Write for AnsiWriter<W>
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

impl<W: Write> Write for AnsiWriter<W>
[src]

Sets the output text style, if supported. Read more