2 unstable releases
Uses old Rust 2015
0.2.0 | Apr 30, 2017 |
---|---|
0.1.0 | Feb 16, 2017 |
#27 in #desktop-notifications
7KB
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Dependencies
~1.2–9.5MB
~87K SLoC