codelab-android-workmanager icon indicating copy to clipboard operation
codelab-android-workmanager copied to clipboard

Timber.e("Invalid input uri") vs Log.e("Invalid input uri")

Open ikmazameti opened this issue 2 years ago • 2 comments

As part of my project work for GADS2022, I came across this discrepancy. Throughout the codelab Log.e("something") is used but in section 6: Chain your Work, the code snippet for the BlurWork class used Timber.e("something").

https://developer.android.com/codelabs/android-workmanager?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-6-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fandroid-workmanager#5

ikmazameti avatar Nov 19 '22 10:11 ikmazameti

Am getting an error there as well.

EmmanuelKinyera avatar Nov 22 '22 07:11 EmmanuelKinyera

So change the Timber.e() to Log,e() and import Log.

ikmazameti avatar Nov 22 '22 09:11 ikmazameti