UNPKG

@iobroker/plugin-sentry

Version:

Sentry module for plugins for js-controller and adapters

21 lines (20 loc) 660 B
import { PluginBase } from '@iobroker/plugin-base'; declare class SentryPlugin extends PluginBase { /** The Sentry instance */ Sentry: typeof import('@sentry/node'); /** If plugin is enabled after all checks */ reallyEnabled: boolean; /** * Register and initialize Sentry * * @param pluginConfig plugin configuration from config files */ init(pluginConfig: Record<string, any>): Promise<void>; private _registerSentry; /** * Return the Sentry object. This can be used to send own Messages or such * @returns Sentry object */ getSentryObject(): typeof this.Sentry; } export = SentryPlugin;