debugLogDefault

fnvoid debugLogDefault(gst.debug_category.DebugCategory category, gst.types.DebugLevel level, string file, string function_, int line, gobject.object.ObjectWrap object, gst.debug_message.DebugMessage message, void * userData = null)

The default logging handler used by GStreamer. Logging functions get called whenever a macro like GST_DEBUG or similar is used. By default this function is setup to output the message and additional info to stderr (or the log file specified via the GST_DEBUG_FILE environment variable) as received via user_data.

You can add other handlers by using [gst.global.debugAddLogFunction]. And you can remove this handler by calling gst_debug_remove_log_function(gst_debug_log_default);

Parameters

categorycategory to log
levellevel of the message
filethe file that emitted the message, usually the __FILE__ identifier
function_the function that emitted the message
linethe line from that the message was emitted, usually __LINE__
objectthe object this message relates to, or null if none
messagethe actual message
userDatathe FILE* to log to