slog 1.0.0-alpha2

Structured, composable logging for Rust
Documentation
#[macro_use(o,slog_log,slog_trace,slog_debug,slog_info,slog_warn,slog_error,slog_crit)]
extern crate slog;

extern crate slog_term;

fn main() {
    let log = slog::Logger::root(slog_term::stderr(), o!());

    slog_trace!(log, "logging a trace message");
    slog_debug!(log, "debug values", "x" => 1, "y" => -1);
    slog_info!(log, "some interesting info", "where" => "right here");
    slog_warn!(log, "be cautious!", "why" => "you never know...");
    slog_error!(log, "something's wrong", "type" => "unknown");
    slog_crit!(log, "abandoning test");
}