Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong readme.md #81

Open
kasir-barati opened this issue May 6, 2022 · 1 comment
Open

Wrong readme.md #81

kasir-barati opened this issue May 6, 2022 · 1 comment

Comments

@kasir-barati
Copy link

kasir-barati commented May 6, 2022

LogLevel is not exported from the @sentry/types. You have to update it like this:

import { Module } from '@nestjs-common';
import { SentryModule } from '@ntegral/nestjs-sentry';

@Module({
  imports: [
    SentryModule.forRoot({
      dsn: 'sentry_io_dsn',
      debug: true, // boolean
      environment: 'dev', //  | 'production' | 'some_environment'
      release: 'some_release', // | | null must create a release in sentry.io dashboard
      logLevel: ['verbose', 'debug'] //based on sentry.io loglevel
    }),
  ],
})
export class AppModule {}
@josegiron1
Copy link

For me using i.e: logLevels** instead of logLevel worked. Can it be a typo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants