pub fn last(&self, i: usize) -> Option<&str> {
        if i < self.logs.len() {
            Some(&self.logs[self.logs.len() - 1 - i][..])
        } else {
            None
        }
    }
/// Get a log line from the bottom of the log
Get a log line from the bottom of the log
Get a log line from the bottom of the log
pub fn last(&self, i: usize) -> Option<&str> {
        if i < self.logs.len() {
            Some(&self.logs[self.logs.len() - 1 - i][..])
        } else {
            None
        }
    }
pub fn last ( & self , i : usize ) -> Option < & str > { if i < self . logs . len ( ) { Some ( & self . logs [ self . logs . len ( ) - 1 - i ] [ .. ] ) } else { None } }
Get a log line from the bottom of the log
Get a log line from the bottom of the log
&self
i
usize
&self
i
usize