{#if visible}
Logs
LAUNCHER GAME ERROR
{#each logs as log}
{log.timestamp} [{log.type === 'launcher' ? 'LAUNCHER' : log.type === 'stderr' ? 'ERROR' : 'GAME'}] {log.line}
{/each} {#if logs.length === 0}
Waiting for output... Click "Show Logs" and start a game to see logs here.
{/if}
{/if}