void aubio_log_set_function(aubio_log_function_t fun, void *data)
Set logging function for all levels.
void aubio_log_reset(void)
Reset all logging functions to the default one.
aubio_log_function_t aubio_log_set_level_function(sint_t level, aubio_log_function_t fun, void *data)
Set logging function for a given level.
void(* aubio_log_function_t)(sint_t level, const char_t *message, void *data)
Logging function prototype, to be passed to aubio_log_set_function.
aubio_log_level
list of logging levels
@ AUBIO_LOG_DBG
debug messages
@ AUBIO_LOG_LAST_LEVEL
number of valid levels
@ AUBIO_LOG_MSG
general messages
@ AUBIO_LOG_ERR
critical errors