I wrote a small library to send Node.js application logs to Discord in a structured format.
Github Project - https://github.com/sidhantpanda/node-discord-logger
Features:
- 6 levels of logging
- Send complete error stack to Discord
- Send JSON objects which will be pretty-printed in Discord
- Configure meta data such as machine hostname, process id to be sent with every request
Top comments (2)
I did as the tutorial it return
TypeError: DiscordLogger is not a constructor
I think it is deprecated?
For those who face the same issue as mine. visit dev.to/johnmelodyme/how-to-send-me... since I provide a better method :)