read
Use timber You can create a custom tree for releases so you can send logs to Crashlytics or other thing without changing any line of code.
Why
- Simple
Timber.d["Log")
Timber.d("With some format %s and this number: %d", someString, someNumber)
Timber.e(throwable, "message")
- Easy setup
It will print the class name as tag and number with this setup:
- Helps in production release, you can set up to send all logs into crashlytics reports so you can see what was happening on users phones in this way: