Skip to content
This repository has been archived by the owner on Mar 11, 2018. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Oct 20, 2016
1 parent a2337c9 commit 73f7d73
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,21 @@ Sentry handler for nightingale
## Install

```sh
npm install --save nightingale-sentry
npm install --save nightingale nightingale-sentry
```

## Usage

```js
import nightingaleSentry from 'nightingale-sentry';
import { configure, levels } from 'nightingale';
import SentryHandler from 'nightingale-sentry';

configure([
{
handlers: [new SentryHandler(ravenUrl, levels.ERROR)]
}
])

console.log(nightingaleSentry);
```

[npm-image]: https://img.shields.io/npm/v/nightingale-sentry.svg?style=flat-square
Expand Down

0 comments on commit 73f7d73

Please sign in to comment.