pub fn set_buffer_depth(depth: usize)
Set the depth of the circular buffer in order to avoid message loss. This will delete all existing messages in the circular buffer.