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..087b2b180e26 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 @@ -16,15 +16,28 @@ package org.springframework.boot.logging.structured; +import ch.qos.logback.classic.pattern.ThrowableProxyConverter; + import org.springframework.boot.json.JsonWriter; import org.springframework.boot.json.JsonWriter.Members; +import org.springframework.core.env.Environment; /** - * Customer that can be injected into a {@link StructuredLogFormatter} implementations to + * Customizer that can be injected into {@link StructuredLogFormatter} implementations to * customize {@link JsonWriter} {@link Members}. *
* An implementation may be provided using the {@code logging.structured.json.customizer} * property. + *
+ * Implementing classes can declare the following parameter types in the constructor: + *