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

**Describe the bug** Modifying some settings in child loggers changes this setting also in all other loggers in hierarchy tree. The reason is shallow copy of `this.settings` in `LoggerWithoutCallSite.getChildLogger`. Because...

bug

**Describe the bug** * as far as I can tell, when we create a new Logger with `type: 'json'`, and pass it some settings, the Logger does not respect the...

bug

This pull request does not introduce any breaking changes. However it does introduce a very small performance improvement by removing a useless branch. I also tried to add some comments...

**Description / Use Case for a Feature** As I've said before, I'm really loving tslog in Blitz apps! But there's one thing I **really** wish tslog supported, and that is...

enhancement

**Describe the bug** Someone reported this bug a while back: https://github.com/cspotcode/node-source-map-support/issues/36 I see that tslog has logic to avoid infinite loops. This suggests to me that the logic might be...

bug

Right now [`maskAnyRegEx`](https://tslog.js.org/#/?id=maskanyregex) is case sensitive by default. Since all strings supplied in the array are [joined with a pipe][1] (`|`) it's not possible to supply a `/i` global flag...

enhancement

**Describe the bug** While implementing a request id provider function, I realised that [it is supported to return `undefined`](https://github.com/fullstack-build/tslog/blob/91784f2fa6fe1a5c5fe233c1807017992ea75b12/src/LoggerWithoutCallSite.ts#L395) from a [`TRequestIdFunction`](https://github.com/fullstack-build/tslog/blob/91784f2fa6fe1a5c5fe233c1807017992ea75b12/src/interfaces.ts#L42) despite what the typing is enforcing. The `requestId`...

bug

My end goal is to integrate with Datadog. In order to associate logs with requests, Datadog requires certain fields to be in the JSON object logged. I couldn't find a...

enhancement

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

**Describe the bug** Here's what tslog looks like in Sentry breadcrumbs with `pretty` logging: ![image](https://user-images.githubusercontent.com/8813276/104109939-c51a1d00-52a0-11eb-96a7-41d8bc7b8177.png) This is captured to sentry in Node like this: ```ts } catch (error) { Sentry.captureException(error)...

bug