A [mattermost][mattermost] transport for [winston][winston].
npm install -S winston winston-mattermost
var winston = require('winston');
var mattermost = require('winston-mattermost').Mattermost;
var options = {
"webhook_url": "webhook url from Mattermost",
"channel": "channel",
"level": "level to log"
}
winston.add(mattermost, options)
- Based on winston-loggly by Charlie Robbins
[MIT][license-url] [license-url]: LICENSE [mattermost]: http://http://www.mattermost.org/ [winston]: https://github.com/flatiron/winston [npm-url]: https://npmjs.org/package/winston-mattermost