debug_set_threshold_from_string
function debug_set_threshold_from_string(list:String, reset:Boolean):void { // Gjs wrapper for gst_debug_set_threshold_from_string() }
Sets the debug logging wanted in the same form as with the GST_DEBUG environment variable. You can use wildcards such as '*', but note that the order matters when you use wild cards, e.g. "foosrc:6,*src:3,*:2" sets everything to log level 2.
Since 1.2.0
- list
comma-separated list of "category:level" pairs to be used as debug logging levels
- reset
true to clear all previously-set debug levels before setting new thresholds false if adding the threshold described by list to the one already set.