tslog
tslog copied to clipboard
📝 tslog - Universal Logger for TypeScript and JavaScript
This logger is awesome, but I'd also like to see some sort of NestJS module like [this one for pino](https://www.npmjs.com/package/nestjs-pino). Unfortunately, trying to integrate `tslog` as an application-level logger in...
**Description / Use Case for a Feature** It seems this library is adding quite some additional overhead for me, probably because I'm also logging to files. The overhead is noticeable...
**Describe the bug** Im trying to use this awesome looking lib with esbuild targeting cloudflare workers and I am getting the following error: ``` [mf:err] Error: Dynamic require of "path"...
**Describe the bug** errors out anytime it being run in react native app/ also had to manually install os and path. **To Reproduce** Steps to reproduce the behavior: 1. install...
https://github.com/watson/error-callsites/blob/1d6e6cc416b56d535c608ed77980867bb7b345c9/index.js#L8-L21 https://github.com/fullstack-build/tslog/blob/77ab7c9331d0bc6f627fa7a4e45a4eebc8908a01/src/CallSitesHelper.ts#L64-L78 tslog should not modify the global Error prototype. If modifying the prototype is necessary for certain features it should be explicitly enabled with an option. This can cause...
**Describe the bug** The json type is returning the full logObject regardless of the values provided to be hidden/displayed in the settings. **To Reproduce** Steps to reproduce the behavior: 1....
**Describe the bug** When trying to prettyprint to a custom istd, the delimiter is sometimes in the wrong place, e.g. before an ANSI color reset  Or just missing completely...
**Description / Use Case for a Feature** Currently when implementing a custom output via IStd, write gets called 5 times for a simple message, which makes processing more complicated than...
**Description / Use Case for a Feature** Because the severity of a log is included with the logObject, there should be a simpler transport implementation option similar to the `IStd`...
**Describe the bug** Currently, `tslog` overwrites `util.inspect` styles by its own: https://github.com/fullstack-build/tslog/blob/2760b4144691a354126059a9d100a8c3c4879895/src/LoggerWithoutCallSite.ts#L75-L87 https://github.com/fullstack-build/tslog/blob/2760b4144691a354126059a9d100a8c3c4879895/src/LoggerHelper.ts#L136-L144 which will affect other consumers of `util.inspect`, this shouldn't be enabled by default and instead by provided...