pub trait LogSender: Send + Sync {
// Required methods
fn send(
&mut self,
target: OutputTarget,
payload: Vec<Vec<u8>>,
) -> Result<()>;
fn flush(&mut self) -> Result<()>;
}Expand description
Trait for sending logs