I am now using Winston for logging and would like to know how to write to the .log, the file name and the line where the logger.info() is performed.
I write code with ES6 Node.js
I use @epegzz/winston-dev-console to display it in my console but I can't write it to my .log files at all. I would like to have more or less in my .log files, like the screenshot. : https://i.stack.imgur.com/XuhB2.jpg
debug: ┏ Connected Discord: ***** +0ms
debug: ┃ 2022-07-04 23:05:20.752Z
debug: ┗ at /client.discord.js:63 [Client.<anonymous>]