Android-PLog icon indicating copy to clipboard operation
Android-PLog copied to clipboard

Fix message printed twice when a throwable is given

Open perqin opened this issue 5 years ago • 0 comments

When calling PLog.level(level).tag(tag).msg("The throwable is %s").throwable(throwable).print() with DefaultFormatter configured, it prints out:

The throwable is The throwable is %sjava.lang.Throwable:...

But the expected result is:

The throwable is java.lang.Throwable:...

This patch fixes the issue.

perqin avatar May 09 '20 12:05 perqin