Skip to content

Commit

Permalink
Increase thread string length to 5 in logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Feb 3, 2021
1 parent 94b631c commit a4ec31e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -159,9 +159,9 @@ private void write(String level, String tag, String message, Throwable t) {

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);
Expand Down

0 comments on commit a4ec31e

Please sign in to comment.