Tiny JS logging library for backend (NodeJS, bun) and frontend (ES6/UMD).
bun add loggisch
or
npm i loggisch
In your code:
import log from 'loggisch';
log.setLogLevel('error');
log.error('Will be logged');
log.warn('Will not be logged');
Check out the main.ts
For development bun is recommended:
bun test
bun run build
or
npm run build