[−][src]Function libdc1394_sys::dc1394_log_register_handler
pub unsafe extern "C" fn dc1394_log_register_handler(
type_: Type,
log_handler: Option<unsafe extern "C" fn(type_: Type, log_handler: *const c_char, user: *mut c_void)>,
user: *mut c_void
) -> Type
dc1394_log_register_handler: register log handler for reporting error, warning or debug statements Passing NULL as argument turns off this log level. @param [in] log_handler: pointer to a function which takes a character string as argument type: the type of log @param [in] type: message type (\a debug, \a err or \a warning) @param [in] message: log message