2.0.0 • Published 1 year ago
winston-discord-webhook v2.0.0
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 |