show log content
Check out the code in the tests/app folder, or the live example.
const source = {
abort: async () => { }, //abort data fetching
fetch: async function * f(cursor, number) // fetch entries starting after cursor
{ yield "my log entry 1"; yield "my log entry 2"; }
};
Or the live example.
With npm do:
npm install svelte-log-view
With yarn do:
yarn add svelte-log-view
BSD-2-Clause