${this.stats?.totalRequests ?? 0}
Total Requests
${this.stats?.totalResponses ?? 0}
Total Responses
${this.stats?.errorCount ?? 0}
Errors
${this.stats?.avgDurationMs ?? 0}ms
Avg Duration
${filteredLogs.length}
Showing
${this.stats && Object.keys(this.stats.methodCounts).length > 0 ? html`
Loading request logs...
` : filteredLogs.length === 0 ? html`
No request logs found. Traffic will appear here as TypedRequests are made.
` : html`
${filteredLogs.map(log => html`
${log.error ? html`
${log.error}
` : ''}
this.togglePayload(log.correlationId)}">
${this.expandedPayloads.has(log.correlationId) ? 'Hide payload' : 'Show payload'}
${this.expandedPayloads.has(log.correlationId) ? html`
${JSON.stringify(log.payload, null, 2)}
` : ''}
`)}
${this.logs.length < this.totalCount ? html`
` : ''}
`}
`;
}
}