Trait testcontainers::core::logs::consumer::LogConsumer
source · pub trait LogConsumer: Send + Sync {
// Required method
fn accept<'a>(&'a self, record: &'a LogFrame) -> BoxFuture<'a, ()>;
}Expand description
Log consumer is a trait that allows to consume log frames. Consumers will be called for each log frame that is produced by the container for the whole lifecycle of the container.