Description
While analysing LOG4J2-1397 I found it is currently not possible for client code to get a reference to the Object in the ObjectMessage without creating a temporary (single-element) array (returned from getParameters().
This ticket proposes to add a method to the ObjectMessage and ReusableObjectMessage interface that gives direct access to the object parameter.
I'm flexible with regards to the name of this new method. I thought of getParameter() but an alternative could be getObject() or something else.
Attachments
Issue Links
- is depended upon by
-
LOG4J2-1397 Support ByteBufferLayout
- Resolved