Trait enso_logger::processor::consumer::Definition[][src]

pub trait Definition<Levels, Message> {
    fn consume(&mut self, entry: Entry<Levels>, message: Option<Message>);
}
Expand description

Consumer takes the incoming entry and a message formatted by the used formatter and executes an action, like writing the things to the console, sending them via network, or buffering in a queue.

Required methods

Implementors