aubio_log_set_level_function method

aubio_log_function_t aubio_log_set_level_function(
  1. int level,
  2. aubio_log_function_t fun,
  3. Pointer<Void> data
)

Set logging function for a given level

\param level the level for which to set the logging function \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

aubio_log_function_t aubio_log_set_level_function(
  int level,
  aubio_log_function_t fun,
  ffi.Pointer<ffi.Void> data,
) {
  return _aubio_log_set_level_function(
    level,
    fun,
    data,
  );
}