pub type ly_log_clb = Option<unsafe extern "C" fn(level: Type, msg: *const c_char, data_path: *const c_char, schema_path: *const c_char, line: u64)>;Expand description
@brief Logger callback.
@param[in] level Log level of the message. @param[in] msg Message. @param[in] data_path Optional data path of the related node. @param[in] schema_path Optional schema path of the related node. @param[in] line Optional related input line.
Aliased Type§
pub enum ly_log_clb {
None,
Some(unsafe extern "C" fn(u32, *const i8, *const i8, *const i8, u64)),
}