nightingale-slack
TypeScript icon, indicating that this package has built-in type declarations

15.0.0 • Public • Published

nightingale-slack

Slack handler for nightingale

Install

npm install --save nightingale nightingale-slack

Usage

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)]
])

Package Sidebar

Install

npm i nightingale-slack

Weekly Downloads

50

Version

15.0.0

License

ISC

Unpacked Size

30.2 kB

Total Files

19

Last publish

Collaborators

  • churpeau