pub fn collectd_log(lvl: LogLevel, message: &str)Expand description
Sends message and log level to collectd. This bypasses any configuration setup via the global logger, so collectd configuration soley determines if a level is logged and where it is delivered. Messages that are too long are truncated (1024 was the max length as of collectd-5.7).
In general, prefer using the log crate macros with CollectdLogger.
ยงPanics
If a message containing a null character is given as a message this function will panic.