get() — spring-boot Function Reference
Architecture documentation for the get() function in StructuredLogFormatterFactory.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 265004e7_cc1c_e0cb_8596_2c0d8134eea9["get()"] dcc93a8f_efea_663e_9414_ac83de63b866["get()"] dcc93a8f_efea_663e_9414_ac83de63b866 -->|calls| 265004e7_cc1c_e0cb_8596_2c0d8134eea9 d4ba61e7_26bf_03df_6ef8_0c66cb1c80ba["build()"] d4ba61e7_26bf_03df_6ef8_0c66cb1c80ba -->|calls| 265004e7_cc1c_e0cb_8596_2c0d8134eea9 21dea452_7c84_f3a7_4568_ae5f8ad90c86["createFormatter()"] 21dea452_7c84_f3a7_4568_ae5f8ad90c86 -->|calls| 265004e7_cc1c_e0cb_8596_2c0d8134eea9 dcc93a8f_efea_663e_9414_ac83de63b866["get()"] 265004e7_cc1c_e0cb_8596_2c0d8134eea9 -->|calls| dcc93a8f_efea_663e_9414_ac83de63b866 2a8a8191_545a_b2d0_7d88_6869638e0850["getUsingClassName()"] 265004e7_cc1c_e0cb_8596_2c0d8134eea9 -->|calls| 2a8a8191_545a_b2d0_7d88_6869638e0850 8b17bfb4_1211_8ab9_4cd8_197de40b5038["getCommonNames()"] 265004e7_cc1c_e0cb_8596_2c0d8134eea9 -->|calls| 8b17bfb4_1211_8ab9_4cd8_197de40b5038 style 265004e7_cc1c_e0cb_8596_2c0d8134eea9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/structured/StructuredLogFormatterFactory.java lines 123–132
public StructuredLogFormatter<E> get(String format) {
StructuredLogFormatter<E> formatter = this.commonFormatters.get(this.instantiator, format);
formatter = (formatter != null) ? formatter : getUsingClassName(format);
if (formatter != null) {
return formatter;
}
throw new IllegalArgumentException(
"Unknown format '%s'. Values can be a valid fully-qualified class name or one of the common formats: %s"
.formatted(format, this.commonFormatters.getCommonNames()));
}
Domain
Subdomains
Calls
- get()
- getCommonNames()
- getUsingClassName()
Source
Frequently Asked Questions
What does get() do?
get() is a function in the spring-boot codebase.
What does get() call?
get() calls 3 function(s): get, getCommonNames, getUsingClassName.
What calls get()?
get() is called by 3 function(s): build, createFormatter, get.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free