Skip to content

v2.3.0

Compare
Choose a tag to compare
@phuctm97 phuctm97 released this 26 Jan 10:22
· 73 commits to master since this release

Previous version creates a new Hub for every new instance of the plugin, which separates the information/scope of reported events from Sentry platform implementation (@sentry/vue, @sentry/node, etc). This version uses minimal Sentry platform interface instead of creating a new one from Client, which allows users to input their Sentry platform instances.

import * as Sentry from "@sentry/vue";
// import * as Sentry from "@sentry/node";

const plugin = new LoglevelSentryPlugin(Sentry);
plugin.install(logger);