pub async fn launch_serial(
allow_serial_log_tags: impl IntoIterator<Item = impl AsRef<str>>,
deny_serial_log_tags: impl IntoIterator<Item = impl ToString>,
logs_repo: Arc<LogsRepository>,
sink: impl Write + Send + 'static,
freeze_receiver: UnboundedReceiver<Sender<EventPair>>,
flush_receiver: UnboundedReceiver<Sender<()>>,
)
Expand description
Function that forwards logs from Archivist to the serial port. Logs will be filtered by
allow_serial_log_tags
to include logs in the serial output, and deny_serial_log_tags
to
exclude specific tags.