Use Constants.DEBUG instead of BuildConfig.DEBUG to allow debugging of release builds
This commit is contained in:
@@ -178,7 +178,7 @@ public class KeychainApplication extends Application {
|
||||
|
||||
private void updateLoggingStatus() {
|
||||
Timber.uprootAll();
|
||||
boolean enableDebugLogging = BuildConfig.DEBUG;
|
||||
boolean enableDebugLogging = Constants.DEBUG;
|
||||
if (enableDebugLogging) {
|
||||
Timber.plant(new DebugTree());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user