pub async fn log_task(
log_file: PetriLogFile,
reader: impl AsyncRead + Unpin + Send + 'static,
name: &str,
) -> Result<()>Expand description
Logs lines from reader into log_file.
Attempts to parse lines as SyslogParsedEntry, extracting the log level.
Passes through any non-conforming logs.