Hi all,
I created a small logger interface for TS & JS projects, which I use mostly for small services, projects, and serverless applications.
The goal was to have a small, almost/no overhead generic implementation, that has no unused features, slim, and able to work with other logging packages (like Winston, Pino).
My use-cases: -An IoT project where the Winston package exists and log rotation is configured - A serverless project that logs to CloudWatch - A project that runs in a cron job - Inspired by PHP's PSR-3 LoggerInterface - I did not want anything that has dozens of files with features that are rarely or never needed - A TypeScript interface for extensibility - JS support - Avoiding plain `console.log` - Open source
Hi all,
I created a small logger interface for TS & JS projects, which I use mostly for small services, projects, and serverless applications.
The goal was to have a small, almost/no overhead generic implementation, that has no unused features, slim, and able to work with other logging packages (like Winston, Pino).
My use-cases: -An IoT project where the Winston package exists and log rotation is configured - A serverless project that logs to CloudWatch - A project that runs in a cron job - Inspired by PHP's PSR-3 LoggerInterface - I did not want anything that has dozens of files with features that are rarely or never needed - A TypeScript interface for extensibility - JS support - Avoiding plain `console.log` - Open source
I would like to get some opinions on the matter, criticism, etc.
It can be found on: npmjs simple serverless logger
All opinions welcome.