-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log exception stack trace if the last argument is Throwable
- Enhanced logger methods to check if the last argument is of type Throwable. - If Throwable is detected, its stack trace is included in the log output. - Improves debugging by seamlessly handling exception logging alongside message formatting. ref. https://www.slf4j.org/faq.html#paramException
- Loading branch information
1 parent
96e6824
commit d946148
Showing
1 changed file
with
72 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters