From 72c186e13b2d30d2ff22375aed77cfcd340d1c98 Mon Sep 17 00:00:00 2001 From: weslleybraga Date: Thu, 3 Feb 2022 13:27:03 -0600 Subject: [PATCH] Updated readme to reflect current implementation of logLevels --- README.MD | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.MD b/README.MD index e0a1686..f131cae 100644 --- a/README.MD +++ b/README.MD @@ -51,7 +51,6 @@ The simplest way to use `@ntegral/nestjs-sentry` is to use `SentryModule.forRoot ```typescript import { Module } from '@nestjs-common'; import { SentryModule } from '@ntegral/nestjs-sentry'; -import { LogLevel } from '@sentry/types'; @Module({ imports: [ @@ -60,7 +59,7 @@ import { LogLevel } from '@sentry/types'; debug: true | false, environment: 'dev' | 'production' | 'some_environment', release: 'some_release', | null, // must create a release in sentry.io dashboard - logLevel: LogLevel.Debug //based on sentry.io loglevel // + logLevels: ['debug'] }), ], }) @@ -84,7 +83,7 @@ import { ConfigService } from '@ntegral/nestjs-config'; debug: true | false, environment: 'dev' | 'production' | 'some_environment', release: 'some_release', | null, // must create a release in sentry.io dashboard - logLevel: LogLevel.Debug //based on sentry.io loglevel // + logLevels: ['debug'] //based on sentry.io loglevel // }), inject: [ConfigService], }) @@ -189,7 +188,7 @@ import { LogLevel } from '@sentry/types'; debug: true | false, environment: 'dev' | 'production' | 'some_environment', release: 'some_release', | null, // must create a release in sentry.io dashboard - logLevel: LogLevel.Debug //based on sentry.io loglevel // + logLevels: ['debug'] close: { enabled: true, // Time in milliseconds to forcefully quit the application