Home / Function/ build() — spring-boot Function Reference

build() — spring-boot Function Reference

Architecture documentation for the build() function in StructuredLogFormatterFactory.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 3 called by 2

Entity Profile

Dependency Diagram

graph TD
  6f1df6da_a28d_0edd_5516_a00dc1153a58["build()"]
  d4ba61e7_26bf_03df_6ef8_0c66cb1c80ba["build()"]
  d4ba61e7_26bf_03df_6ef8_0c66cb1c80ba -->|calls| 6f1df6da_a28d_0edd_5516_a00dc1153a58
  6d727c67_16c2_ff37_7422_61d93f37b9de["StructuredLogFormatterFactory()"]
  6d727c67_16c2_ff37_7422_61d93f37b9de -->|calls| 6f1df6da_a28d_0edd_5516_a00dc1153a58
  d80b80d6_02ed_dfd4_5515_dd36342147a5["add()"]
  6f1df6da_a28d_0edd_5516_a00dc1153a58 -->|calls| d80b80d6_02ed_dfd4_5515_dd36342147a5
  08ffaa5e_95cd_11b5_b2bb_8907fd5fab07["loadStructuredLoggingJsonMembersCustomizers()"]
  6f1df6da_a28d_0edd_5516_a00dc1153a58 -->|calls| 08ffaa5e_95cd_11b5_b2bb_8907fd5fab07
  cd417328_f7f4_294e_549b_844350124954["invokeCustomizers()"]
  6f1df6da_a28d_0edd_5516_a00dc1153a58 -->|calls| cd417328_f7f4_294e_549b_844350124954
  style 6f1df6da_a28d_0edd_5516_a00dc1153a58 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/structured/StructuredLogFormatterFactory.java lines 223–234

		@Override
		public StructuredLoggingJsonMembersCustomizer<E> build() {
			return (members) -> {
				List<StructuredLoggingJsonMembersCustomizer<?>> customizers = new ArrayList<>();
				if (this.properties != null) {
					customizers.add(new StructuredLoggingJsonPropertiesJsonMembersCustomizer(
							StructuredLogFormatterFactory.this.instantiator, this.properties, this.nested));
				}
				customizers.addAll(loadStructuredLoggingJsonMembersCustomizers());
				invokeCustomizers(members, customizers);
			};
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does build() do?
build() is a function in the spring-boot codebase.
What does build() call?
build() calls 3 function(s): add, invokeCustomizers, loadStructuredLoggingJsonMembersCustomizers.
What calls build()?
build() is called by 2 function(s): StructuredLogFormatterFactory, build.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free