Document StructuredLoggingJsonMembersCustomizer constructor params
See gh-43314
This commit is contained in:
committed by
Andy Wilkinson
parent
74d69d0eb1
commit
34ac045073
@@ -25,6 +25,15 @@ import org.springframework.boot.json.JsonWriter.Members;
|
||||
* <p>
|
||||
* An implementation may be provided using the {@code logging.structured.json.customizer}
|
||||
* property.
|
||||
* <p>
|
||||
* {@code StructuredLoggingJsonMembersCustomizer} implementations may optionally take the
|
||||
* following constructor parameters:
|
||||
* <ul>
|
||||
* <li>{@link org.springframework.core.env.Environment} - The Spring
|
||||
* {@code Environment}.</li>
|
||||
* <li>{@link ch.qos.logback.classic.pattern.ThrowableProxyConverter} - The Logback
|
||||
* {@code ThrowableProxyConverter} (available only if Logback is using).</li>
|
||||
* </ul>
|
||||
*
|
||||
* @param <T> the type being written
|
||||
* @author Phillip Webb
|
||||
|
||||
Reference in New Issue
Block a user