Adds an enricher to the pipeline that enriches log events before they are written to the sink enricher: The enricher to add Returns the pipeline
Adds a filter to the pipeline that filters log events before they are written to the sink filter: The filter to add Returns the pipeline
Sets the formatter that the pipeline uses to format log events before they are written to the sink formatter: The formatter to use Returns the pipeline
Adds a filter to the pipeline that filters log events by minimum level (lowest level to write) level: The minimum level to write Returns the pipeline
Writes a log event to the configured sinks after processing it with the configured pipelines level: The level of the log event message: The message of the log event properties: The properties of the log event exception: The exception of the log event
Optional
properties: { Optional
exception: ErrorSets the sink that the pipeline writes to sink: The sink to write to Returns the logger configuration that the pipeline belongs to
Logger configuration that can be used to configure loggers The configuration is used to configure the sinks, filters, formatters and enrichers that are used by the logger