mosquitto_warn

Macro mosquitto_warn 

Source
macro_rules! mosquitto_warn {
    ($($arg:tt)+) => { ... };
}
Expand description

Logs a message at the warn level into the mosquitto logging subsystem.

ยงExamples

use mosquitto_plugin::mosquitto_warn;

let auth_method = "SIP";
let client_id = "unknown";
mosquitto_warn!("Client id {} tries unspported authentification method {}", client_id, auth_method);