aubio_log_set_function method

void aubio_log_set_function(
  1. aubio_log_function_t fun,
  2. Pointer<Void> data
)

Set logging function for all levels

\param fun the function to be used to log, of type ::aubio_log_function_t \param data optional closure to be passed to the function (can be NULL if nothing to pass)

Implementation

void aubio_log_set_function(
  aubio_log_function_t fun,
  ffi.Pointer<ffi.Void> data,
) {
  return _aubio_log_set_function(
    fun,
    data,
  );
}