Skip to content
Search
DSL · Telemetry

pipeline_log_processor

Definition

/**
 * Create a PipelineLogProcessor: run each log entry through an ordered chain of
 * middleware, then forward the survivors to a single sink.
 *
 * @param list<LogMiddleware> $middleware run in order; the first to drop an entry short-circuits the rest
 * @param LogSink $sink the terminal processor that exports surviving entries
 */
pipeline_log_processor(array $middleware, LogSink $sink) : PipelineLogProcessor

Contributors

Built in the open.

Join us on GitHub
scroll back to top