Skip to main content
The DebugLogObserver provides detailed logging of frame activity in your Pipecat pipeline, with full visibility into frame content and flexible filtering options.

Features

  • Log all frame types and their content
  • Filter by specific frame types
  • Filter by source or destination components
  • Automatic formatting of frame fields
  • Special handling for complex data structures

Usage

Log All Frames

Log all frames passing through the pipeline:

Filter by Frame Types

Log only specific frame types:

Advanced Source/Destination Filtering

Filter frames based on their type and source/destination:

Log Output Format

The observer logs each frame with its complete details:
For example:

Configuration Options

FrameEndpoint Enum

The FrameEndpoint enum is used for source/destination filtering:
  • FrameEndpoint.SOURCE: Filter by source component
  • FrameEndpoint.DESTINATION: Filter by destination component