[][src]Type Definition libcoap_sys::coap_log_handler_t

type coap_log_handler_t = Option<unsafe extern "C" fn(level: coap_log_t, message: *const c_char)>;

Logging call-back handler definition.

@param level One of the LOG_* values. @param message Zero-terminated string message to log.