Trait enso_flexer::prelude::logger::processor::GlobalProcessor[][src]

pub trait GlobalProcessor {
    type Processor;
    fn get_mut() -> &'static mut Self::Processor;
}
Expand description

Abstraction for global processors. Global processors may be insanely useful to optimize the logging performance. You can, for example, define a single global processor and redirect all loggers to it. The single global processor can have a buffer layer, which will buffer messages without formatting them and will format all of them and print them to the screen on-demand only.

Associated Types

Loading content...

Required methods

fn get_mut() -> &'static mut Self::Processor[src]

Loading content...

Implementors

Loading content...