slf4j
slf4j copied to clipboard
Improved handling of throwables in message formatting.
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.
relates to #166, but I believe this PR solves issue in more straightforward and efficient way (no need to double-parse message).