logtown-sentry-browser
v2.4.5
Published
Logtown wrapper for sentry logger in browser
Downloads
8
Maintainers
Readme
logtown-sentry-browser
Logtown wrapper for sentry logger in browser
Installation
yarn add logtown-sentry-browser raven-js
or
npm install logtown-sentry-browser raven-js
Usage
import logtown from 'logtown';
import SentryWrapper from 'logtown-sentry-browser';
logtown.addWrapper(new SentryWrapper());
For reference of sentry options see sentry docs
ES5 usage
define(['logtown-sentry-browser/es5/umd', 'logtown/es5/umd'], function (SentryWrapper, logtown) {
logtown.addWrapper(new SentryWrapper());
});
License
Logtown-sentry-browser is released under the MIT license.