pub trait LogProcessor { // Required methods fn log(&mut self, message: LogMessage); fn done(&mut self); }
This trait is used to pass log message back to client.
Called when log is received from logger.
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.