Cover image for Node.js : Winston Logging

Node.js : Winston Logging

heisdev profile image dev ・1 min read


I am working on Nodejs and building a logger for the application I am working on. I am using Winston for logging purposes. I am having issues with logging the module/file name from where I am logging it.

If anyone has worked on it, can you please guide on the same. I do not want alternates for Winston, if anyone could help me with it please drop it in the comments.

It will be very useful.
Alt Text

Disclaimer : Don't give StackOverflow answers, I have tried them already. Apart from that, anything solution would do.```

Thanks :) 


markdown guide

I suggest asking a meaningful question. :)