Module enso_flexer::prelude::logger::processor [−][src]
Expand description
Logger processor implementation.
Modules
consumer | Log consumer implementation. |
formatter | Log formatter implementation. |
Structs
BranchBuilder | A branch processor builder. It passes the incoming input to all of its children. The macro
below generates a special type |
Buffer | |
BufferModel | |
Consumer | Consumer processor. It uses the provided consumer to consume the results, and probably print them on the screen or write to a file. |
DefaultGlobalJsProcessor | Global processor definition. |
Drop | Drop processor. Does nothing, just drops the input. |
Formatter | Formatter processor. It uses the provided formatter to format its input. |
Global | |
Identity | Identity processor. It passes its input to output without performing any modification. |
SeqBuilder | A seq processor builder. It allows defining connected processors in a linear fashion. The macro
below generates a special type |
Traits
GlobalProcessor | 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. |
Processor | The most primitive building block of a logger. Processor takes some input and returns some output, forming a message processing pipeline. |
Functions
global_processor | Get a reference to a global processor. Read docs of |
Type Definitions
Branch | A generic seq implementation. See docs of |
Branch2 | Nested seq. See docs of |
Branch3 | Nested seq. See docs of |
Branch4 | Nested seq. See docs of |
Branch5 | Nested seq. See docs of |
DefaultProcessor | Default processor implementation. |
Seq | A generic seq implementation. See docs of |
Seq2 | Nested seq. See docs of |
Seq3 | Nested seq. See docs of |
Seq4 | Nested seq. See docs of |
Seq5 | Nested seq. See docs of |