pub type mongocrypt_log_fn_t = Option<unsafe extern "C" fn(level: mongocrypt_log_level_t, message: *const c_char, message_len: u32, ctx: *mut c_void)>;Expand description
A log callback function. Set a custom log callback with @ref mongocrypt_setopt_log_handler.
@param[in] message A NULL terminated message. @param[in] message_len The length of message. @param[in] ctx A context provided by the caller of @ref mongocrypt_setopt_log_handler.
Aliased Type§
pub enum mongocrypt_log_fn_t {
None,
Some(unsafe extern "C" fn(u32, *const i8, u32, *mut c_void)),
}