{#if logs.length > 0}
{#if isExpanded} {:else} {/if} Connection Log ({logs.length}) {#if connectionTimeMs !== undefined} ยท Connected in {connectionTimeMs}ms {/if}
{#each logs as log (log.timestamp.getTime() + log.message)} {@const IconComponent = getMcpLogLevelIcon(log.level)}
{formatTime(log.timestamp)} {log.message}
{#if log.details !== undefined}
details
{formatLogDetails(log.details)}
{/if} {/each}
{/if}