pub fn read_log_tail(log_path: &str, bytes: u64) -> Option<String>Expand description
Read the last bytes bytes of a file as (lossy) UTF-8 text.
A partial first line is dropped: the slice can start in the middle of a line, and that fragment must not be treated as the beginning of a line by the anchored footer matcher.