We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3053891 commit 33b4a7cCopy full SHA for 33b4a7c
1 file changed
LogcatCoreLib/src/main/java/info/hannes/logcat/LogcatFragment.kt
@@ -26,11 +26,11 @@ class LogcatFragment : LogBaseFragment() {
26
27
process.inputStream.bufferedReader().use {
28
it.readLines().map { line ->
29
- val newLine = line.replace(" W/", " W: ")
30
- .replace(" E/", " E: ")
31
- .replace(" V/", " V: ")
32
- .replace(" I/", " I: ")
33
- .replace(" D/", " D: ")
+ val newLine = line.replace(" W/", " $WARNING_LINE")
+ .replace(" E/", " $ERROR_LINE")
+ .replace(" V/", " $VERBOSE_LINE")
+ .replace(" I/", " $INFO_LINE")
+ .replace(" D/", " $DEBUG_LINE")
34
35
if (!logList.contains(newLine))
36
logList.add(newLine)
0 commit comments