mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Merge pull request #4402 from element-hq/misc/enable-logcat-in-all-builds
Add feature flag to let the application prints logs to logcat in release builds.
This commit is contained in:
+10
@@ -168,4 +168,14 @@ enum class FeatureFlags(
|
||||
defaultValue = { true },
|
||||
isFinished = false,
|
||||
),
|
||||
PrintLogsToLogcat(
|
||||
key = "feature.print_logs_to_logcat",
|
||||
title = "Print logs to logcat",
|
||||
description = "Print logs to logcat in addition to log files. Requires an app restart to take effect." +
|
||||
"\n\nWARNING: this will make the logs visible in the device logs and may affect performance. " +
|
||||
"It's not intended for daily usage in release builds.",
|
||||
defaultValue = { buildMeta -> buildMeta.buildType != BuildType.RELEASE },
|
||||
// False so it's displayed in the developer options screen
|
||||
isFinished = false,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user