systemd-journal-logger
A log logger for the systemd journal.
Usage
[]
= "^0.4"
= "^0.1"
Then initialize the logger at the start of main:
use ;
A log logger for the systemd journal.
[dependencies]
log = "^0.4"
systemd-journal-logger = "^0.1"
Then initialize the logger at the start of main:
use log::{info, LevelFilter};
fn main() {
systemd_journal_logger::init();
log::set_max_level(LevelFilter::Info);
info!("Hello systemd journal");
}