-
Notifications
You must be signed in to change notification settings - Fork 440
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
Add log level for internal log of sdk #1147
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1147 +/- ##
==========================================
+ Coverage 93.26% 93.28% +0.02%
==========================================
Files 173 174 +1
Lines 6362 6391 +29
==========================================
+ Hits 5933 5961 +28
- Misses 429 430 +1
|
278707f
to
60826d9
Compare
6bf6668
to
4f5187e
Compare
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.
Thanks
@@ -16,7 +17,7 @@ | |||
#define OTEL_INTERNAL_LOG_LEVEL_DEBUG 3 // to be disabled in release | |||
|
|||
#ifndef OTEL_INTERNAL_LOG_LEVEL | |||
# define OTEL_INTERNAL_LOG_LEVEL OTEL_INTERNAL_LOG_LEVEL_WARN // ERROR and WARN | |||
# define OTEL_INTERNAL_LOG_LEVEL OTEL_INTERNAL_LOG_LEVEL_DEBUG // ERROR and WARN |
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.
nit - change the comment?
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.
nit - change the comment?
done
@owent - this looks good to merge. Would you rebase it to the main branch? Thanks. |
+ Fix document for internal log of sdk + Fix crash problem when any provider is destroyed after internal log handle. Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
9cb7f0a
to
e73df79
Compare
Done |
Signed-off-by: owentou owentou@tencent.com
Fixes #1138
Changes
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes