Logger - log to txt file
I am trying to use this to clone
console.log
logs to a txt file. Any way I can do the same for the sapphire logger as well? Thanks.
2 Replies
You’d do this with a plugin, and speaking of which, thanks for reminding me of adding transports there
Also as I always say, it should be noted that if you host your bot with either pm2 or docker that those tools already sent all logs to a file so doing so manually is double logging.