Debug.addLogFunction

Adds the logging function to the list of logging functions. Be sure to use G_GNUC_NO_INSTRUMENT on that function, it is needed.

struct Debug
static
void
addLogFunction

Parameters

func GstLogFunction

the function to use

userData void*

user data

notify GDestroyNotify

called when user_data is not used anymore