pub type LevelMap = dyn Fn(Level) -> c_int + Send + Sync;
Function for mapping rust’s log levels to libc’s log levels.
log
libc