Skip to content
Snippets Groups Projects
Unverified Commit a79cbe0b authored by Matthias Urhahn's avatar Matthias Urhahn Committed by GitHub
Browse files

Fix logging in device for testers (DEV) #1651

parent 48cfe43c
No related branches found
No related tags found
No related merge requests found
......@@ -11,10 +11,10 @@ object CWADebug {
fun init(application: Application) {
if (isDebugBuildOrMode) System.setProperty("kotlinx.coroutines.debug", "on")
if (BuildConfig.DEBUG) {
if (isDeviceForTestersBuild) {
Timber.plant(Timber.DebugTree())
}
if ((buildFlavor == BuildFlavor.DEVICE_FOR_TESTERS || BuildConfig.DEBUG)) {
if (isDeviceForTestersBuild) {
fileLogger = FileLogger(application)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment