mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user