{#if canAccess}

Logs

{#if error}
{error}
{/if}
Showing {logs.length} of {totalLogs} logs (Level: {currentLogLevel})
{#if logs.length === 0 && !isLoading}

No logs available.

{:else} {#each logs as log}
{formatTimestamp(log.timestamp)} {log.level} {#if log.file} {log.file}:{log.line} {/if} {log.message}
{/each}
{#if isLoading} Loading more... {:else if hasMore} Scroll for more {:else} End of logs {/if}
{/if}
{:else}

Log viewer is only available to relay owners.

{#if !isLoggedIn} {:else}

Your role ({userRole}) does not have access to this feature.

{/if}
{/if}