0.1.6 • Published 10 years ago

winston-slack v0.1.6

Weekly downloads
89
License
-
Repository
github
Last release
10 years ago

winston-slack

Winston Transport for Slack chat integration

$ npm install winston-slack

Also requires install of winston

$ npm install winston

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

additonal options:

domain: sub-domain of the slack instance

apiToken: token given by the slack integration API

username: name displayed in the chat channel. default "winston-slack"

var winston = require('winston');
var something = require('winston-slack').Slack;

winston.add(something, {
    domain: "yourcompany",
    apiToken: "j7w7tjBMdytjXzEZu9HQooni",
    channel: "#test-channel",
    username: "ErrorBot",
    level: 'error',
    handleExceptions : true
});
0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago