@instant-legacy/loggable
v0.1.7
Published
Logging for the rest of us.
Readme
loggable
Logging for the rest of us.
about
A web & console typescript logger built for being reasonably small, low-overhead (early profiling seem to indicate a <15% overhead over plain console.log('Test',i) when using Logger.root.child('parent').child('child').log('Test',i)), pretty, and maintainable.
It can be vendored by copying 2 (for Svelte, a third helper can be nice) files into your repository.
Esbuild with --minify --bundle --target=firefox144 --platform=browser --format=esm on src/lib.ts, as of writing, gives back 3.7k of JS. bundlephobia claims 1.9kB gzip'ed.


