Increase thread string length to 5 in logs.
This commit is contained in:
parent
94b631ccfe
commit
a4ec31eebe
1 changed files with 2 additions and 2 deletions
|
@ -159,9 +159,9 @@ public final class PersistentLogger extends Log.Logger {
|
|||
|
||||
if (cachedThreadString.get() == null) {
|
||||
if (Looper.myLooper() == Looper.getMainLooper()) {
|
||||
threadString = "main";
|
||||
threadString = "main ";
|
||||
} else {
|
||||
threadString = String.format("%-4s", Thread.currentThread().getId());
|
||||
threadString = String.format("%-5s", Thread.currentThread().getId());
|
||||
}
|
||||
|
||||
cachedThreadString.set(threadString);
|
||||
|
|
Loading…
Add table
Reference in a new issue