Skip to content

Commit 77d6a7a

Browse files
committed
Debug - Add logging statements to track the length of logs
1 parent 7b0f643 commit 77d6a7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/LogViewer.svelte

+2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@
128128
updates.unlisten();
129129
return;
130130
}
131+
console.log('before append: ' + logs.length);
131132
logs = [...logs.slice(-maxLines), result.data.log];
133+
console.log('after append: ' + logs.length);
132134
}
133135
logs.sort((a, b) => a.time.getTime() - b.time.getTime());
134136
scrollToBottom();

0 commit comments

Comments
 (0)