pub fn debug_add_ring_buffer_logger(
    max_size_per_thread: u32,
    thread_timeout: u32
This is supported on crate feature v1_14 only.
Expand description

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 debug_ring_buffer_logger_get_logs() and the logger can be removed again with debug_remove_ring_buffer_logger(). Only one logger at a time is possible.


Maximum size of log per thread in bytes


Timeout for threads in seconds