Skip to main content

fetch

Function fetch 

Source
pub fn fetch(unit: &str, previous_boot: bool) -> Result<LogFetch>
Expand description

Fetches the journal tail for unit (up to MAX_ENTRIES entries), current boot or the previous one, and flattens it into display lines (oldest first).