debugAddRingBufferLogger
fn
void debugAddRingBufferLogger(uint maxSizePerThread, uint threadTimeout)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.
Parameters
maxSizePerThread | Maximum size of log per thread in bytes |
threadTimeout | Timeout for threads in seconds |