npm.io
0.2.1 • Published 11 years ago

winston-bishop-slack

Licence
MIT
Version
0.2.1
Deps
3
Vulns
1
Weekly
0
Stars
8

###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

#####Additonal 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"
var winston = require('winston'); var slack = require('winston-bishop-slack').Slack;__CODE_BLOCK_2__

winston

Keywords