pub type LevelToSeverity = fn(level: Level) -> Severity;
Signature for a custom mapping function that maps the rust log levels to values of the syslog Severity.