slf4j icon indicating copy to clipboard operation
slf4j copied to clipboard

Improved handling of throwables in message formatting.

Open zorba128 opened this issue 1 year ago • 1 comments

Related issue

This PR proposes improved exception extraction during message formatting. It simplifies whole process and improves performance (avoids unnecessary construction of NormalizedParameters, avoids copying/truncating argsArray).

Still some work to be done - logger implementations can now be simplified in many cases.

zorba128 avatar Jan 27 '24 08:01 zorba128

relates to #166, but I believe this PR solves issue in more straightforward and efficient way (no need to double-parse message).

zorba128 avatar Jan 27 '24 11:01 zorba128