@ntegral/nestjs-sentry
Version:
Provides an injectable sentry.io client to provide enterprise logging nestjs modules
11 lines (9 loc) • 348 B
text/typescript
import { makeInjectableDecorator } from './injectDecoratoryFactory';
import { SENTRY_MODULE_OPTIONS, SENTRY_TOKEN } from './sentry.constants';
export const InjectSentry = makeInjectableDecorator(SENTRY_TOKEN);
/**
* Injects the Sentry Module config
*/
export const InjectSentryModuleConfig = makeInjectableDecorator(
SENTRY_MODULE_OPTIONS,
);