ppkarwasz commented on code in PR #1171:
URL: https://github.com/apache/logging-log4j2/pull/1171#discussion_r1059090120
##########
log4j-api/src/main/java/org/apache/logging/log4j/message/FlowMessageFactory.java:
##########
@@ -30,6 +40,25 @@ public interface FlowMessageFactory {
*/
EntryMessage newEntryMessage(Message message);
+ /**
+ * Creates a new exit message based on a return value and a forma string.
+ *
+ * @param format a format string
+ * @param result the return value
+ * @return the new exit message
+ * @since 2.20
+ */
+ ExitMessage newExitMessage(String format, Object result);
Review Comment:
I am not sure what the default implementation should be.
Anyway a minor version bump allows to break a SPI.
--
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]