0.2.4 • Published 9 years ago

winston-trever-slack v0.2.4

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

###Winston Transport for Slack chat integration

Basic transport that works just like all other winston transports. Sends logged messages to a specified slack chat channel

First install winston...

$ npm install winston

Then install winston-bishop-slack

$ npm install winston-bishop-slack

#####Additional Options:

  • webhook_url: (required) url for your integration (provided by the slack API)
  • icon_url: avatar of the message 'sender' as it appears in slack
  • channel: channel on which the sent message will appear in slack
  • username: name displayed in the chat channel. default "Winston Bishop"

winston