Module logging

Module logging 

Source
Expand description

Structured logging helpers.

All log events carry consistent fields (session_id, phase) for correlation. Feature-gated behind tracing-support.

Functionsยง

log_http_request
Log an HTTP request (info level).
log_http_response
Log an HTTP response (info level).
log_http_retry
Log an HTTP retry attempt (warn level).
log_jitter_underrun
Log a jitter buffer underrun (warn level).
log_reconnection
Log a reconnection attempt (warn level).
log_session_event
Log a session lifecycle event.
log_tool_call
Log a tool call dispatch.
log_vad_event
Log VAD state change (debug level).
log_ws_error
Log a WebSocket error (warn level).