debugAddRingBufferLogger

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 gst.global.debugRingBufferLoggerGetLogs and the logger can be removed again with gst.global.debugRemoveRingBufferLogger. Only one logger at a time is possible.

void
debugAddRingBufferLogger

Parameters

maxSizePerThread uint

Maximum size of log per thread in bytes

threadTimeout uint

Timeout for threads in seconds