DEV Community

Cover image for Node.js : Winston Logging
dev
dev

Posted on

Node.js : Winston Logging

Hey,

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 :) 

Top comments (1)

Collapse
 
pentacular profile image
pentacular

I suggest asking a meaningful question. :)