Function diem_logger::json_log::pop_last_entries
source · pub fn pop_last_entries() -> Vec<JsonLogEntry> ⓘ
Expand description
Get up to MAX_EVENTS_IN_QUEUE last events and clears the queue
pub fn pop_last_entries() -> Vec<JsonLogEntry> ⓘ
Get up to MAX_EVENTS_IN_QUEUE last events and clears the queue