跳转至

Structlog

Logfire processor for structlog.

RESERVED_ATTRS module-attribute

RESERVED_ATTRS = RESERVED_ATTRS | {
    "level",
    "event",
    "timestamp",
}

Attributes to strip from the event before sending to Logfire.

LogfireProcessor

LogfireProcessor(*, console_log: bool = False)

Logfire processor for structlog.

Source code in logfire/integrations/structlog.py
24
25
def __init__(self, *, console_log: bool = False) -> None:
    self.console_log = console_log

本文总阅读量