Crate slog_term [] [src]

Unix terminal formatter and drain for slog-rs

#[macro_use]
extern crate slog;
extern crate slog_term;

use slog::*;

fn main() {
    let root = Logger::root(slog_term::streamer().build(), o!("build-id" => "8dfljdf"));
}

Structs

ColorDecorator

Decorator that can colors things

ColorRecordDecorator

Decorator that colors things

Format

Full formatting with optional color support

StreamerBuilder

Streamer builder

Enums

FormatMode

Formatting mode

Functions

streamer

Build Streamer/AsyncStreamer