-
Notifications
You must be signed in to change notification settings - Fork 93
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
Sdk diagnostic listener EventLevel based on configured LogLevel #2361
Sdk diagnostic listener EventLevel based on configured LogLevel #2361
Conversation
LogLevel.Debug => EventLevel.Verbose, | ||
LogLevel.Error => EventLevel.Error, | ||
LogLevel.Warning => EventLevel.Warning, | ||
LogLevel.Information => EventLevel.Informational, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a default log level - I'm wondering if EventLevel.Informational
might be little too verbose. LMK if you think I should change it e.g EventLevel.Warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather consider changing the levels of event logs produced by the SDK instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
We can introduce other env. varialbe if needed in the future.
Why
Towards #959
What
Set
EventLevel
forSdkSelfDiagnosticsEventListener
based on configured log level.Tests
Updated in PR.
Checklist
- [ ]CHANGELOG.md
is updated.- [ ] Documentation is updated.