pub fn get_logged_messages() -> Vec<String>
Public function to read the saved messages from the buffer. This function is accessible from the main.rs (or any other crate/binary) for reading the buffer content.