vy commented on PR #2691:
URL: https://github.com/apache/logging-log4j2/pull/2691#issuecomment-2213682324

   > I would rather retrofit `PatternConverter` with a generic parameter `T` to 
indicate the type of object supported by the converter.
   
   @ppkarwasz, agreed, but that would be a breaking change, right? IMHO, it 
stretches the focus of this PR far too much. Let's just start with 
consolidating the existing `Throwable`-rendering logic.
   
   > ```
   > <PatternLayout pattern="%m%n">
   >     <ExtendedThrowableConverter 
stackTracePattern="%class.%method(%file:%line)"
   >                                 maxLines="20"
   >                                 ignorePackages="org.apache.logging.log4j"/>
   
   I liked this idea, but, again, IMHO, we better address it as a follow-up 
work.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to