tslog icon indicating copy to clipboard operation
tslog copied to clipboard

Feature Request: NestJS integration

Open rjkz808 opened this issue 4 years ago • 2 comments

This logger is awesome, but I'd also like to see some sort of NestJS module like this one for pino. Unfortunately, trying to integrate tslog as an application-level logger in NestJS breaks the call site at this moment.

rjkz808 avatar Feb 22 '21 11:02 rjkz808

Oh, I would really like this.. +1

raarts avatar Jan 23 '22 22:01 raarts

I don't really use NextJS, but if you could help me with that, we can definitely make it work in V4.

terehov avatar Aug 23 '22 19:08 terehov

There is a new, completely rewritten version (4.0) which does not interfere with the call sites any more. Give it a go and let me know if that solves your problem:

  • npm i tslog@next

  • and run it with node --enable-source-maps or for TypeScript node --enable-source-maps --experimental-specifier-resolution=node --no-warnings --loader ts-node/esm

Thank you.

terehov avatar Sep 30 '22 12:09 terehov

V4 is released now, so I'm going to close this issue. Feel free to open a new one if V4 didn't solve it for you.

Here are the docs: tslog.js.org

terehov avatar Nov 15 '22 18:11 terehov