At moldedbits, we have decided to switch to Timber library over android.util.Log. Timber has following benefits over standard android logging
No Tags
Timber automagically assigns TAG to a log statement. By default, it is filename but a custom tag can be provided if needed
Custom Behaviours
Developer can add custom logging engines(called Trees) for custom logging. Timber ships with a default logging behaviour class DebugTree. These Trees can be installed conditionally
like
Developer can also write custom behaviours e.g. printing line no along with log statement.
Logging to multiple sinks
Single log statement can print log on logcat and report to some other source like Crashlytics. All you have to do is install two Trees on Timber instance in your Application class.
like this
CrashlyticsTree class looks like this
Clearly its very easy to use and makes debugging more efficient.
Happy Coding !!