android / codelab-android-workmanager

Apache License 2.0
549 stars 239 forks source link

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

Open ikmazameti opened 1 year ago

ikmazameti commented 1 year ago

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

EmmanuelKinyera commented 1 year ago

Am getting an error there as well.

ikmazameti commented 1 year ago

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