I hope you loved this video! 🙂 📮Consider subscribing to my newsletter: codewithvlad.substack.com 🔥 And follow me on Twitter: twitter.com/vladimir_agaev
Helps me a lot, expecially the `response.on("finish" , () => {})` part, which solve the problem that confuses me for a long time when my response status-codes always start with 2.
Hey thanks for the tutorials bro, your videos are very good. I'm migrating a project from express to nest but it is very hard nothing works the same xd. Tried to make the functional logger work with winston and morgan but winston gives problems... This will do for now :). Nvm I could do it my errors were because I was importing like this: import winston from "winston" and had to be: import * as winston from "winston".
I hope you loved this video! 🙂
📮Consider subscribing to my newsletter: codewithvlad.substack.com
🔥 And follow me on Twitter: twitter.com/vladimir_agaev
This is the best video I found on UA-cam for a NestJS custom logger.
Dear Vlad - you are the master of NestJS here on UA-cam - please, keep up your great work! Thank you!
High quality content for NestJS. I got started with NestJS through your videos. Keep up the great work mate!
Thank you Dina!
Would you consider doing a video on how to extend the default logger to include file logging as well?
Thanks. Easy to understand.
Nice one, simple explanation !!!
I really hope you get the subs and views you deserve
Very good tutorial!
Helps me a lot, expecially the `response.on("finish" , () => {})` part, which solve the problem that confuses me for a long time when my response status-codes always start with 2.
What logger do you use for production? with log rotation. Pino, winston?
Good job! Any ideas about how to achieve log rotation with built-in nestjs logger ? Thanks in advance. Take care.
The built-in nestjs logger is mainly used for development. For production, I suggest using external logging tools where you can send your logs by api.
what settings did you apply for the terminal ?, apple icon , branch name and etc.
I usually use material theme and material icons :)
Works with graphql?
I haven't tried with graphql. I will give it a go.
я только об это подумал и тут комментарий)
And how to log it into file?
thank you
Thanks
Hey thanks for the tutorials bro, your videos are very good. I'm migrating a project from express to nest but it is very hard nothing works the same xd. Tried to make the functional logger work with winston and morgan but winston gives problems... This will do for now :).
Nvm I could do it my errors were because I was importing like this: import winston from "winston" and had to be: import * as winston from "winston".