[][src]Type Definition aubio_sys::aubio_log_function_t

type aubio_log_function_t = Option<unsafe extern "C" fn(level: sint_t, message: *const char_t, data: *mut c_void)>;

Logging function prototype, to be passed to ::aubio_log_set_function

\param level log level \param message text to log \param data optional closure used by the callback

See @ref utils/test-log.c for an example of logging function.