dave08
12/27/2021, 3:06 PMTimber.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...