slog-term 2.4.2

Unix terminal drain and formatter for slog-rs
Documentation
extern crate slog;
extern crate slog_async;
extern crate slog_term;

use slog::Drain;

use slog_async::Async;

fn main() {
    let decorator = slog_term::PlainSyncDecorator::new(std::io::stdout());
    let _drain = slog_term::FullFormat::new(decorator).build().fuse();

    let decorator = slog_term::PlainDecorator::new(std::io::stdout());
    let _drain = Async::new(
        slog_term::FullFormat::new(decorator).build().fuse(),
    ).build()
        .fuse();
}