slog-syslog 1.0.0-alpha6

Syslog drain for slog-rs

Syslog drain for slog-rs

WARNING: This crate needs some improvements.

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

use slog::*;
use slog_syslog::Facility;

fn main() {
    let root = Logger::new_root(o!("build-id" => "8dfljdf"));
    root.set_drain(
            slog_syslog::unix_3164(
                Facility::LOG_USER,
                )
            );
}