slog-notify

Crates.ioslog-notify
lib.rsslog-notify
version0.2.0
sourcesrc
created_at2017-02-16 19:53:08.779335
updated_at2017-04-30 12:16:58.694542
descriptionSlog drain for desktop notifications
homepage
repositoryhttps://github.com/bjorn3/slog-notify
max_upload_size
id8549
size15,699
(bjorn3)

documentation

README

slog-notify

Slog desktop notification bridge

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

use slog::DrainExt;

fn main(){
    let drain = slog_notify::simple("Example simple");
    
    let root_log = slog::Logger::root(drain, o!());
    
    info!(root_log, "Information");
    crit!(root_log, "Critical message");
}

License

Licensed under either of

Commit count: 8

cargo fmt