fuchsia_syslog_listener

Trait LogProcessor

Source
pub trait LogProcessor {
    // Required methods
    fn log(&mut self, message: LogMessage);
    fn done(&mut self);
}
Expand description

This trait is used to pass log message back to client.

Required Methods§

Source

fn log(&mut self, message: LogMessage)

Called when log is received from logger.

Source

fn done(&mut self)

Called when logger service signals that it is done dumping logs. This is only called if we request logger service to dump logs rather than registering a listener.

Implementations on Foreign Types§

Source§

impl LogProcessor for UnboundedSender<LogMessage>

Source§

fn log(&mut self, message: LogMessage)

Source§

fn done(&mut self)

Implementors§