Debug.setThresholdFromString

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.

struct Debug
static
void
setThresholdFromString
(
string list
,
bool reset
)

Parameters

list string

comma-separated list of "category:level" pairs to be used as debug logging levels

reset bool

%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.

Meta