pub fn openlog(ident: &str, option: c_int, facility: c_int)
Expand description
C openlog, we use &str to replace *const i8. We still use libc flags here
ยงExamples
let ident = String::from("myprogram");
syslog_c::openlog(&ident, libc::LOG_CONS | libc::LOG_PID, libc::LOG_AUTHPRIV);