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.
max_size_per_thread |
Maximum size of log per thread in bytes |
thread_timeout |
Timeout for threads in seconds |