Skip to main content

Module logs

Module logs 

Source
Expand description

infra logs command surface: querying, searching, and tracing the log store.

Dispatches the LogsCommands subcommands (view, search, stream, export, cleanup, delete, summary, show, trace, request, tools, audit) and defines the serializable output rows shared across them. On a --database-url invocation only the read-only subcommands are served; stream, cleanup, and delete require a full profile context.

Modules§

duration
request
infra logs request subcommands for inspecting AI provider requests.
shared
Formatting helpers shared across the infra logs subcommands.
tools
infra logs tools subcommands for listing MCP tool executions.
trace
infra logs trace subcommands for reconstructing execution traces.
types

Structs§

AuditOutput
AuditToolCall
LogCleanupOutput
LogDeleteOutput
LogEntryRow
LogExportOutput
LogFilters
LogViewOutput
LogsSummaryOutput
MessageRow
ToolCallRow

Enums§

LogsCommands

Functions§

audit_not_found
build_audit
build_logs_summary
cost_microdollars_to_dollars
display_log_row
execute
format_optional_duration_ms
format_timestamp