Skip to content

Lint fix for "Using 'Log' instead of 'Timber...' is incorrectly applied #380

Open
launchdarkly/android-client-sdk
#141
@arriolac

Description

@arriolac

The lint checks that are applied whenever you use Log instead of Timber suggests that you should use Timber instead.

e.g.

Log.e("MyActivity", "Logging an error")

image

However, when you apply the suggested fix (1st or 2nd option in the screenshot), you get:

Log.Timber.e("Logging an error")

Update: This is only an issue in Kotlin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions