Module logging

Module logging 

Source
Expand description

Structured logging helpers for agent lifecycle.

All log events carry consistent fields for correlation.

Functionsยง

log_agent_completed
Log that an agent has completed.
log_agent_error
Log an agent error (warn level).
log_agent_started
Log that an agent has started.
log_agent_tool_dispatch
Log an agent-as-tool dispatch.
log_agent_transfer
Log an agent transfer.
log_event_loop_lag
Log event loop lag (warn level).
log_extraction_result
Log an extraction result.
log_llm_call
Log an LLM call.
log_phase_transition
Log a phase transition.
log_session_persisted
Log session persistence.
log_tool_dispatch
Log a tool dispatch.
log_tool_result
Log a tool result.