Structs§
- Debug
Category - This is the struct that describes the categories. Once initialized with
GST_DEBUG_CATEGORY_INIT
, its values can’t be changed anymore. - Debug
Category Logger - Debug
LogFunction - Debug
Message - Logged
Object
Statics§
- CAT_
BUFFER - CAT_
BUFFER_ LIST - CAT_BUS
- CAT_
CALL_ TRACE - CAT_
CAPS - CAT_
CLOCK - CAT_
CONTEXT - CAT_
DEFAULT - CAT_
ELEMENT_ PADS - CAT_
ERROR_ SYSTEM - CAT_
EVENT - CAT_
GST_ INIT - CAT_
LOCKING - CAT_
MEMORY - CAT_
MESSAGE - CAT_
META - CAT_
NEGOTIATION - CAT_
PADS - CAT_
PARAMS - CAT_
PARENTAGE - CAT_
PERFORMANCE - CAT_
PIPELINE - CAT_
PLUGIN_ INFO - CAT_
PLUGIN_ LOADING - CAT_
PROBE - CAT_
PROPERTIES - CAT_QOS
- CAT_
REFCOUNTING - CAT_
REGISTRY - CAT_
RUST - CAT_
SCHEDULING - CAT_
SIGNAL - CAT_
STATES
Functions§
- add_
log_ function - add_
ring_ buffer_ logger - Adds a memory ringbuffer based debug logger that stores up to
max_size_per_thread
bytes of logs per thread and times out threads afterthread_timeout
seconds of inactivity. - get_
default_ threshold - Returns the default threshold that is used for new categories.
- get_
stack_ trace flags
- is_
active - Checks if debugging output is activated.
- is_
colored - Checks if the debugging output should be colored.
- print_
stack_ trace - If libunwind, glibc backtrace or DbgHelp are present a stack trace is printed.
- remove_
default_ log_ function - remove_
log_ function - remove_
ring_ buffer_ logger - Removes any previously added ring buffer logger with
[
debug_add_ring_buffer_logger()
][crate::debug_add_ring_buffer_logger()]. - ring_
buffer_ logger_ get_ logs - Fetches the current logs per thread from the ring buffer logger. See
[
debug_add_ring_buffer_logger()
][crate::debug_add_ring_buffer_logger()] for details. - set_
active - If activated, debugging messages are sent to the debugging handlers. It makes sense to deactivate it for speed issues.
- set_
colored - Sets or unsets the use of coloured debugging output. Same as gst_debug_set_color_mode () with the argument being being GST_DEBUG_COLOR_MODE_ON or GST_DEBUG_COLOR_MODE_OFF.
- set_
default_ threshold - Sets the default threshold to the given level and updates all categories to use this threshold.
- set_
threshold_ for_ name - Sets all categories which match the given glob style pattern to the given level.
- 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. - unset_
threshold_ for_ name - Resets all categories with the given name back to the default level.