Merge pull request #3087 from deltachat/adb/improve-logs

improve logs: use emojis to mark the log level for easier visibility
This commit is contained in:
Asiel Díaz Benítez
2024-05-22 23:16:54 +02:00
committed by GitHub
@@ -136,6 +136,10 @@ public class LogViewFragment extends Fragment {
String line;
while ((line = bufferedReader.readLine()) != null) {
line = line.replaceFirst(" (\\d+) E ", " $1 \uD83D\uDD34 ");
line = line.replaceFirst(" (\\d+) W ", " $1 \uD83D\uDFE0 ");
line = line.replaceFirst(" (\\d+) I ", " $1 \uD83D\uDD35 ");
line = line.replaceFirst(" (\\d+) D ", " $1 \uD83D\uDFE2 ");
log.append(line);
log.append(separator);
}