Trait gelf_logger::Batch
source · pub trait Batch {
// Required methods
fn send(&self, rec: &GelfRecord) -> Result<(), Error>;
fn flush(&self) -> Result<(), Error>;
}
Expand description
Trait for async batch processing of GelfRecord
.