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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Do not include stacktrace into Timber message #1898
Conversation
ee6bd14
to
226c94c
Compare
sentry-android-timber/src/main/java/io/sentry/android/timber/SentryTimberTree.kt
Outdated
Show resolved
Hide resolved
No, the breadcrumb should not care about the stack trace, if there's an exception, we'll capture an event anyway. |
That's a breaking change but not sure if it makes any difference or if somebody uses it as a filter on the Issues page. |
Yeah, timber isn't great when it comes to setting tags, because you need to invoke a separate method |
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.
鉂わ笍
sentry-android-timber/src/main/java/io/sentry/android/timber/SentryTimberTree.kt
Outdated
Show resolved
Hide resolved
sentry-android-timber/src/main/java/io/sentry/android/timber/SentryTimberTree.kt
Outdated
Show resolved
Hide resolved
sentry-android-timber/src/test/java/io/sentry/android/timber/SentryTimberTreeTest.kt
Show resolved
Hide resolved
So the way to go with Timber I think we just do not support tags for now, if we get complaints/issues we can offer a reflection-based support (or automatically infer the tag from the classname). How does that sound? |
Codecov Report
@@ Coverage Diff @@
## main #1898 +/- ##
=========================================
Coverage 75.42% 75.42%
Complexity 2244 2244
=========================================
Files 225 225
Lines 8026 8026
Branches 852 852
=========================================
Hits 6054 6054
Misses 1562 1562
Partials 410 410 Continue to review full report at Codecov.
|
We could also mention it in the docs and link to an issue on github to vote for |
Let's do this, but let's also add the missing tags feat. on the changelog entry. |
sentry-android-timber/src/main/java/io/sentry/android/timber/SentryTimberTree.kt
Outdated
Show resolved
Hide resolved
Added a breaking change note on the changelog and linked it to a gh issue. Merging it when it's green |
馃摐 Description
formatted
andparams
fields if the log-call was made with argsHow this looks now:
Grouping seems to work as well:
馃挕 Motivation and Context
Closes #1177
馃挌 How did you test it?
馃摑 Checklist
馃敭 Next steps