Module structlog.pipeline
Route user logs through a chain of transformations
Class Pipeline
Pipeline:Pipeline (level, processors, formatter, sink) | Create a new pipeline. |
Class Pipeline
The Pipeline class.
- Pipeline:Pipeline (level, processors, formatter, sink)
-
Create a new pipeline.
Parameters:
- level The logging level of the pipeline.
- processors The list of processors running on the pipeline logs.
- formatter The formatter of the pipeline.
- sink The sink to write the structured log to.
Returns:
-
A new pipeline instance.