Function collectd_plugin::collectd_log [] [src]

pub fn collectd_log(lvl: LogLevel, message: &str)

Sends message and log level to collectd. Collectd configuration determines if a level is logged and where it is delivered.

Panics

If a message containing a null character is given as a message this function will panic.