We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c715eab commit 3e11b26Copy full SHA for 3e11b26
kotlinlog/src/main/kotlin/quanti/com/kotlinlog/android/MetadataLogger.kt
@@ -17,7 +17,6 @@ object MetadataLogger {
17
logs.clear()
18
fillArrayBuild()
19
logs.add(Pair("", ""))
20
- fillArrayBuildConfig(context)
21
customMetadataLambda?.invoke(context)?.let {
22
23
logs.addAll(it)
@@ -48,21 +47,6 @@ object MetadataLogger {
48
47
49
}
50
51
- private fun fillArrayBuildConfig(context: Context) {
52
- try {
53
- val clazz = Class.forName(context.packageName + ".BuildConfig")
54
- clazz.fields.forEach {
55
- logs.add(Pair(
56
- it.toGenericString().extractFieldName(),
57
- it.get(null).toString()
58
- ))
59
- }
60
- } catch (ex: Exception) {
61
62
-
63
64
65
66
private fun createNiceString(): String {
67
68
//first found max length and FIRST length
0 commit comments