{#if visible}
Logs
LAUNCHER
GAME
ERROR
Export
Clear
visible = false} class="text-xs text-zinc-500 hover:text-white px-2 py-1 rounded transition">Close
{#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}