+ {#each logEntries as entry (entry.id)}
+ {@const iconClass = entry.type === 'ok'
+ ? 'text-emerald-600 dark:text-emerald-400'
+ : entry.type === 'error'
+ ? 'text-red-600 dark:text-red-400'
+ : entry.type === 'warn'
+ ? 'text-yellow-600 dark:text-yellow-400'
+ : 'text-muted-foreground'}
+ {@const msgClass = entry.type === 'ok'
+ ? 'text-emerald-700 dark:text-emerald-300'
+ : entry.type === 'error'
+ ? 'text-red-700 dark:text-red-300'
+ : entry.type === 'warn'
+ ? 'text-yellow-700 dark:text-yellow-300'
+ : 'text-foreground'}
+
+ {entry.time}
+
+ {entry.type === 'ok' ? '✓' : entry.type === 'error' ? '✗' : entry.type === 'warn' ? '!' : '·'}
+
+
+ {entry.message}
+
+
+ {/each}
+ {#if logEntries.length === 0}
+
Waiting…
+ {/if}
+