Crate slog_stream [] [src]

io::Write streamer for slog-rs

One of the main drains not included in the core slog-rs create. Streamer drain serializes logging records into stream of bytes using given Format and writes it to a given io::Write.

Structs

Streamer

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

Traits

Decorator

Formatted stream decorator

Format

Formats Record-s into IO

RecordDecorator

Per-record decorator

Functions

async_stream

Stream logging records to IO asynchronously

stream

Stream logging records to IO