A Winston @3.x transport for Mattermost.
npm install winston-transport-mattermost
const winston =const MattermostTransport =const logger = winstonlogger
- webhook_url: (Required) Mattermost Incoming Webhook URL.
- username: (Default Winston) Who sends the message.
- icon_url: (Default Adorable avatars) Public image URL for user avatar.
The other mattermost transport packages have too many dependencies and are not compatible with Winston @3.X, and don't allow to customize the name or avatar of the message.