Function gstreamer::log::set_threshold_from_string
source · pub fn set_threshold_from_string(list: &str, reset: bool)
Expand description
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.
§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.