Comprehensive frame logging with configurable filtering in Pipecat
DebugLogObserver
provides detailed logging of frame activity in your Pipecat pipeline, with full visibility into frame content and flexible filtering options.
Parameter | Type | Description |
---|---|---|
frame_types | Tuple[Type[Frame], ...] or Dict[Type[Frame], Optional[Tuple[Type, FrameEndpoint]]] | Frame types to log, with optional source/destination filtering |
exclude_fields | Set[str] | Field names to exclude from logging (defaults to binary fields) |
FrameEndpoint
enum is used for source/destination filtering:
FrameEndpoint.SOURCE
: Filter by source componentFrameEndpoint.DESTINATION
: Filter by destination component