paperdave / various

Various libraries and applications related to TypeScript. Everything is contained in a monorepo to improve productivity and reduce boilerplate.
MIT License
30 stars 3 forks source link

logger: print uncaught errors #7

Closed paperdave closed 2 years ago

paperdave commented 2 years ago

When using injectLogger, it should use process.on("uncaughtError") and unhandledRejection to print to the console. we can make the inject function take an object of arguments with these configurations