@pipit/sentry
v1.0.1
Published
Pipit message processor for Sentry.
Downloads
29
Readme
Sentry processor for Pipit
Sends messages dispatched using Pipit to Sentry.
npm install --save-prod @pipit/sentry
Usage example
import { logger } from 'pipit';
import { sendToSentry } from '@pipit/sentry';
import * as Sentry from '@sentry/browser';
logger.openChannel().to(sendToSentry(Sentry));
logger.log('To the moon!');
// Prints message to console and sends it to Sentry