Wrap log statements in BuildConfig.DEBUG.