vy commented on code in PR #1985:
URL: https://github.com/apache/logging-log4j2/pull/1985#discussion_r1402224874
##########
log4j-layout-template-json/src/main/java/org/apache/logging/log4j/layout/template/json/JsonTemplateLayout.java:
##########
@@ -249,6 +250,11 @@ public Map<String, String> getContentFormat() {
return CONTENT_FORMAT;
}
+ public static JsonTemplateLayout createDefaultLayout() {
+ final DefaultConfiguration configuration = new DefaultConfiguration();
+ return
JsonTemplateLayout.newBuilder().setConfiguration(configuration).build();
+ }
Review Comment:
Fixed in d86d82bf591a787505e7457e10d805c4482e6143.
--
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]