Even when the tree filters out debug logs, if you ...
# squarelibraries
d
Even when the tree filters out debug logs, if you have
Timber.d("Some Log %s", someHeavyOperationToCalculateTheString())
you'd have to clutter the code with
if (BuildConfig.DEBUG)
before each of those so that the heavy operation won't be called... whereas if the Tree is configured to filter out debug logs a
Timber.d { "Some Log ${someHeavyOperationToCalculateTheString()}" }
would be sufficient...