Module structlog.processors

Entry point for loading processors.

A log processor is a regular callable, i.e a function or an instance of a table with a __call() method.

Each log entry goes through a processor pipeline that is just a chain of functions that receive a dictionary and return a new dictionary that gets fed into the next function. That allows for simple but powerful data manipulation.

Tables

M Processor Module


Tables

M
Processor Module

Fields:

  • Timestamper Add a 'timestamp' entry.
  • StackWriter Add entry in ['file', 'line'].
generated by LDoc 1.4.6 Last updated 2023-01-08 13:36:35