⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

log_drain

Function log_drain 

Source
pub fn log_drain<F: FnMut(&LogEntry)>(f: F) -> Option<usize>
Expand description

Iterate over all buffered log entries from oldest to newest, calling f for each.

Returns the number of entries visited, or None if the service is not initialized.