tslog icon indicating copy to clipboard operation
tslog copied to clipboard

📝 tslog - Universal Logger for TypeScript and JavaScript

Results 106 tslog issues
Sort by recently updated
recently updated
newest added

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...

enhancement

**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...

enhancement

**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"...

bug

**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...

bug

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....

bug

**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 ![image](https://user-images.githubusercontent.com/15258962/127326370-8bceea45-b323-4c0f-b989-2e0b2701332f.png) Or just missing completely...

bug

**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...

enhancement

**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`...

enhancement

**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...

bug