Function fuchsia_syslog_listener::run_log_listener
source · pub async fn run_log_listener<'a>(
processor: impl LogProcessor + 'a,
options: Option<&'a mut LogFilterOptions>,
dump_logs: bool,
selectors: Option<&'a mut Vec<LogInterestSelector>>
) -> Result<(), Error>
Expand description
This fn will connect to fuchsia.logger.Log service and then register listener or log dumper based on the parameters passed.