Increase thread string length to 5 in logs.

This commit is contained in:
Greyson Parrelli 2021-02-03 17:17:14 -05:00
parent 94b631ccfe
commit a4ec31eebe

View file

@ -159,9 +159,9 @@ public final class PersistentLogger extends Log.Logger {
if (cachedThreadString.get() == null) { if (cachedThreadString.get() == null) {
if (Looper.myLooper() == Looper.getMainLooper()) { if (Looper.myLooper() == Looper.getMainLooper()) {
threadString = "main"; threadString = "main ";
} else { } else {
threadString = String.format("%-4s", Thread.currentThread().getId()); threadString = String.format("%-5s", Thread.currentThread().getId());
} }
cachedThreadString.set(threadString); cachedThreadString.set(threadString);