fuchsia_syslog_listener

Function run_log_listener

Source
pub async fn run_log_listener<'a>(
    processor: impl LogProcessor + 'a,
    options: Option<&'a LogFilterOptions>,
    dump_logs: bool,
    selectors: Option<&'a [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.