Struct slog_stream::AsyncStreamer [] [src]

pub struct AsyncStreamer<F: Format> { /* fields omitted */ }

Drain formating records and writing them to a byte-stream (io::Write) asynchronously.

Internally, new thread will be spawned taking care of actually writing the data.

Methods

impl<F: Format> AsyncStreamer<F>
[src]

Create new AsyncStreamer writing to io using format

Trait Implementations

impl<F: Format + Send> Drain for AsyncStreamer<F>
[src]

Type of potential errors returned during logging

Log one logging record Read more