Crate syslog_c

Source
Expand description

’syslog-c‘ is just a simple package of C library syslog, which is convenient for us to use in the process of rewriting C code to Rust

Functions§

closelog
the same as libc::closelog
openlog
C openlog, we use &str to replace *const i8. We still use libc flags here
setlogmask
the same as libc::setlogmask
syslog
C syslog, we use &str to replace *const i8. We still use libc flags here