debug_log_default

function debug_log_default(category:Gst.DebugCategory, level:Gst.DebugLevel, file:String, function:String, line:Number, object:GObject.Object, message:Gst.DebugMessage, unused:gpointer):void {
    // Gjs wrapper for gst_debug_log_default()
}

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

You can add other handlers by using debug_add_log_function. And you can remove this handler by calling gst_debug_remove_log_function(gst_debug_log_default);

category

category to log

level

level of the message

file

the file that emitted the message, usually the __FILE__ identifier

function

the function that emitted the message

line

the line from that the message was emitted, usually __LINE__

object

the object this message relates to, or NULL if none

message

the actual message

unused

an unused variable, reserved for some user_data.