Skip to content

Add possibility to set minimal log level for DatadogTree #847

Description

@Gaket

Is your feature request related to a problem? Please describe.

We have many Timber Trees in the app, including the standard LogCat one. We use different Log levels, including Verbose which is... verbose by its nature.

Our Non-release builds have LogCat Tree enabled, so we have those Verbose logs. Release trees don't handle Verbose level at all.
It looks like the DatadogTree (or its Logger) is not allowing to set the Log Level

As a result, we have a high-volume Verbose logs sent to Datadog while we are not interested in this info.

Describe the solution you'd like

  1. Add configuration to set min log level

Describe alternatives you've considered
Copypaste DatadogTree and configure it internally - this is my current solution.
Checked out both the Tree and Logger classes, haven't found a better workaround

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions