winston-discord-webhook
v2.0.0
Published
Transport for winston to send logs on Discord via Webhook
Downloads
250
Maintainers
Readme
Winston Discord Webhook 🍇
Options
| option | required | type | default | description |
| ----------- | -------- | ------------------------------------------------ | -------- | ----------------------------------------------------- |
| webhook
| yes | string
| null
| The webhook URL given by discord |
| mode
| no | hybrid
| embed
| codeblock
| standard
| hybrid
| determine to format to use |
| colors
| no | map<string, hexcolor>
| none
| determine what colors to use for different log levels |
| interval
| no | integer
| 2500
| Time in milliseconds to send log queue to webhook |
| maxLength
| no | integer
| 1500
| Maximum length before chopping end off of string |