Slack handler for nightingale
npm install --save nightingale nightingale-slack
import { configure, Level } from 'nightingale';
import { SlackHandler } from 'nightingale-slack';
const slackErrorConfig = {
webhookUrl: string,
channel: ?string,
username: ?string,
iconUrl: ?string,
iconEmoji: ?string,
};
configure([
{ handlers: [new SlackHandler(slackErrorConfig, Level.ERROR)]
])