Skip to content

Support Timber tags #1900

@romtsn

Description

@romtsn

We have no way to get the tag when inheriting Timber.Tree, because it's marked as internal/package-private for consumers https://github.com/JakeWharton/timber/blob/dc45d69b081a03e3fb83e81a7aee0f430f46b4f1/timber/src/main/java/timber/log/Timber.kt#L22. This means, when timber is used like this:

Timber.tag("Tag")
Timber.e("Issue")

the tag will not be reflected on Sentry.

If this gets traction, we could either offer a reflection-based support or automatically infer classname of the caller (that's what Timber.DebugTree does by default).

Please, vote on this issue if you'd like us to provide support for Timber tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions