Sending to Syslog in Rust
A small library to write to local syslog.
Installation
syslog is available on crates.io and can be included in your Cargo enabled project like this:
[]
= "~2.1.0"
documentation
Reference documentation is available here.
Example
extern crate syslog;
use ;
The struct syslog::Logger
implements Log
from the log
crate, so it can be used as backend for other logging systems.