getDefaultValueResolver() — spring-boot Function Reference
Architecture documentation for the getDefaultValueResolver() function in AbstractLoggingSystem.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 8f662307_8c4e_3f0c_c026_0b74de036dae["getDefaultValueResolver()"] 3161e68f_7653_889d_8e48_3167c6148b62["applySystemProperties()"] 3161e68f_7653_889d_8e48_3167c6148b62 -->|calls| 8f662307_8c4e_3f0c_c026_0b74de036dae faaff992_0793_9a43_7613_39e2966ae5bf["getSystemProperties()"] faaff992_0793_9a43_7613_39e2966ae5bf -->|calls| 8f662307_8c4e_3f0c_c026_0b74de036dae 647ef14c_5da4_24a4_ddac_0beb0e1b96f5["loadDefaults()"] 647ef14c_5da4_24a4_ddac_0beb0e1b96f5 -->|calls| 8f662307_8c4e_3f0c_c026_0b74de036dae e36f9c79_5dc2_caa7_5343_3dede357cb60["getDefaultLogCorrelationPattern()"] 8f662307_8c4e_3f0c_c026_0b74de036dae -->|calls| e36f9c79_5dc2_caa7_5343_3dede357cb60 style 8f662307_8c4e_3f0c_c026_0b74de036dae fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/AbstractLoggingSystem.java lines 192–203
protected Function<@Nullable String, @Nullable String> getDefaultValueResolver(Environment environment) {
String defaultLogCorrelationPattern = getDefaultLogCorrelationPattern();
return (name) -> {
String applicationPropertyName = LoggingSystemProperty.CORRELATION_PATTERN.getApplicationPropertyName();
Assert.state(applicationPropertyName != null, "applicationPropertyName must not be null");
if (StringUtils.hasLength(defaultLogCorrelationPattern) && applicationPropertyName.equals(name)
&& environment.getProperty(LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY, Boolean.class, false)) {
return defaultLogCorrelationPattern;
}
return null;
};
}
Domain
Subdomains
Called By
- applySystemProperties()
- getSystemProperties()
- loadDefaults()
Source
Frequently Asked Questions
What does getDefaultValueResolver() do?
getDefaultValueResolver() is a function in the spring-boot codebase.
What does getDefaultValueResolver() call?
getDefaultValueResolver() calls 1 function(s): getDefaultLogCorrelationPattern.
What calls getDefaultValueResolver()?
getDefaultValueResolver() is called by 3 function(s): applySystemProperties, getSystemProperties, loadDefaults.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free