tslog
tslog copied to clipboard
📝 tslog - Universal Logger for TypeScript and JavaScript
**Describe the bug** mongodb use findOneAndUpdate second time trigger duplicate key error, logger this error fail. **To Reproduce** Steps to reproduce the behavior: mongo db 4.0.3 shard mode package.json ```json...
**Description / Use Case for a Feature** While overriding transports for JSON, the transportJSON function exposes a json that is typed as an unknown. Why is that? It's really difficult...
Hello! I've got an error "TypeError: Cannot set property message of Error which has only a getter" Complete stacktrace: ``` at node_modules/tslog/dist/cjs/BaseLogger.js:179:45 at Array.reduce () at Logger._recursiveCloneAndMaskValuesOfKeys (node_modules/tslog/dist/cjs/BaseLogger.js:178:70) at node_modules/tslog/dist/cjs/BaseLogger.js:157:25...
**Description / Use Case for a Feature** I appears that this is gone from the new code. In the old code you could construct the logger with a string based...
**Description / Use Case for a Feature** The new version of TSLog boasts the ability to "overwrite pretty much every aspect of the log processing"; however, while technically true, it...
Can someone please help me set tslog in webpack? I set in my webpack.config inline source maps like this:  and in my tsconfig:  but all of my logs...
**ignoreStackLevels support for v4** Previous major version (v3) had the `ignoreStackLevels` option, which enabled me to do things like log the place where a common function was called from _inside_...
I would like to customize the pretty format and the json format in ways not currently supported. 1. I cannot create a pretty format that is json as I cannot...
This isn't a bug, but I just wanted to document somewhere that to get tslog to work inside of [NextJS middleware](https://nextjs.org/docs/pages/building-your-application/routing/middleware) (which uses [the Edge runtime](https://nextjs.org/docs/pages/api-reference/edge), which is neither Node...
**Describe the bug** When the logger attempts to report an error thrown by a native Node `AbortController`, it appears to crash expecting a `DOMException`. **To Reproduce** Steps to reproduce the...