From d103e0bf888de3716d5ddc1878d8eedc2c2a0eb3 Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Thu, 28 Nov 2024 17:45:32 +0800 Subject: [PATCH] Document that StructuredLoggingJsonMembersCustomizer implementations may optionally take constructor parameters --- .../StructuredLoggingJsonMembersCustomizer.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/structured/StructuredLoggingJsonMembersCustomizer.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/structured/StructuredLoggingJsonMembersCustomizer.java index 67040b39149a..48589cb4e9ae 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/structured/StructuredLoggingJsonMembersCustomizer.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/structured/StructuredLoggingJsonMembersCustomizer.java @@ -25,6 +25,15 @@ *

* An implementation may be provided using the {@code logging.structured.json.customizer} * property. + *

+ * {@code StructuredLoggingJsonMembersCustomizer} implementations may optionally take the + * following constructor parameters: + *

* * @param the type being written * @author Phillip Webb