add_ring_buffer_logger


Description:


[ Version ( since = "1.14" ) ]
public void add_ring_buffer_logger (uint max_size_per_thread, uint thread_timeout)

Adds a memory ringbuffer based debug logger that stores up to max_size_per_thread bytes of logs per thread and times out threads after thread_timeout seconds of inactivity.

Logs can be fetched with ring_buffer_logger_get_logs and the logger can be removed again with remove_ring_buffer_logger. Only one logger at a time is possible.

Parameters:

max_size_per_thread

Maximum size of log per thread in bytes

thread_timeout

Timeout for threads in seconds


Namespace: Gst.Debug
Package: gstreamer-1.0



2022 vala-language.org