UNPKG

@greguintow/nestjs-sentry

Version:

Provides an injectable sentry.io client to provide enterprise logging nestjs modules

8 lines (7 loc) 389 B
import { DynamicModule, MiddlewareConsumer } from '@nestjs/common'; import { SentryModuleOptions, SentryModuleAsyncOptions } from './sentry.interfaces'; export declare class SentryModule { static forRoot(options: SentryModuleOptions): DynamicModule; static forRootAsync(options: SentryModuleAsyncOptions): DynamicModule; configure(consumer: MiddlewareConsumer): void; }