syslog-rs 7.1.0

A native Rust implementation of the glibc/libc/windows syslog client and windows native log for logging.
Documentation
#![cfg(feature = "logger_lazy")]

use syslog_rs::{logger_dbg, logger_emerg, logger_error, logger_info, logger_warn};



/// Set the `SYSLOG_LOGGER_DST_URI` to "local#" or "file#/tmp/test123.txt"
/// 
/// Set the `SYSLOG_LOGGER_LOG_FORMATTER` to "FILE" for the "file#..."
/// 
/// And then tun.

pub fn main()
{
    logger_dbg!("debug: test_logger_simple");
    logger_info!("info: test1test_logger_simple23");
    logger_error!("error: test_logger_simple");
    logger_warn!("warn: test_logger_simple");
    logger_emerg!("emerg: test_logger_simple");
}