micro-rollbar
Rollbar error handler for Zeit's Micro
Installation
npm install --save micro-rollbar
Usage
Using the global error handler:
const createError = const microRollbar = const errorHandler = moduleexports =
Using the global error handler with additional options:
const send = const microRollbar = const debug info warning error critical = microRollbar // See Rollbar documentation for available options.// https://rollbar.com/docs/notifier/rollbar.js/#standaloneconst errorHandler = moduleexports =
Contributors
Thanks goes to these wonderful people (emoji key):
Brent Mealhouse 💻 📖 ⚠️ |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
Contributing
- Fork this repository to your own GitHub account and then clone it to your local device
- Install the dependencies:
yarn
- Link the package to the global module directory:
yarn link
- Run
yarn test -- --watch
and start making your changes - You can use
yarn link micro-rollbar
to test your changes in an actual project
LICENSE
MIT