2个不稳定版本
使用旧的Rust 2015
0.2.0 | 2017年4月30日 |
---|---|
0.1.0 | 2017年2月16日 |
#20 in #drain
7KB
sllog-notify
sllog桌面通知桥接器
#[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");
}
许可证
根据您的选择,许可协议为
- Apache许可证2.0版本(《LICENSE-APACHE》或《https://apache.ac.cn/licenses/LICENSE-2.0》)
- MIT许可证(《LICENSE-MIT》或《https://open-source.org.cn/licenses/MIT》)
依赖项
~1–10MB
~95K SLoC