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

logLevel mismatch between source code and Documentation #72

Open
wesbragagt opened this issue Feb 3, 2022 · 0 comments
Open

logLevel mismatch between source code and Documentation #72

wesbragagt opened this issue Feb 3, 2022 · 0 comments

Comments

@wesbragagt
Copy link

wesbragagt commented Feb 3, 2022

Looks like the implementation of SentryModule.forRoot on version 6.17.4 changed on how logLevel is passed. Now it's spelled as logLevels and it receives a type of LogLevel[]. Also the type LogLevel doesn't seem to exist anymore. Documentation needs to be updated in order to avoid type conflicts.

Before:

SentryModule.forRoot({
...
logLevel: LogLevel.Debug
})

Now:

SentryModule.forRoot({
logLevels: ['debug']
})

PR to address this -> #73

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

1 participant