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

getOverrides() — spring-boot Function Reference

Architecture documentation for the getOverrides() function in Log4J2LoggingSystem.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  83b19da4_a45e_2441_f89a_92502556674a["getOverrides()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a["load()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a -->|calls| 83b19da4_a45e_2441_f89a_92502556674a
  ec28bceb_afae_dbcc_dc04_34cec403ab77["getEnvironment()"]
  83b19da4_a45e_2441_f89a_92502556674a -->|calls| ec28bceb_afae_dbcc_dc04_34cec403ab77
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  83b19da4_a45e_2441_f89a_92502556674a -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  636f7a41_1c0c_14f0_9030_7a0bc21bb716["listOf()"]
  83b19da4_a45e_2441_f89a_92502556674a -->|calls| 636f7a41_1c0c_14f0_9030_7a0bc21bb716
  32372854_c4ec_cb3d_4ea8_9375eeaca524["orElse()"]
  83b19da4_a45e_2441_f89a_92502556674a -->|calls| 32372854_c4ec_cb3d_4ea8_9375eeaca524
  style 83b19da4_a45e_2441_f89a_92502556674a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystem.java lines 278–284

	private List<String> getOverrides(LoggingInitializationContext initializationContext) {
		Environment environment = initializationContext.getEnvironment();
		Assert.state(environment != null, "'environment' must not be null");
		BindResult<List<String>> overrides = Binder.get(environment)
			.bind("logging.log4j2.config.override", Bindable.listOf(String.class));
		return overrides.orElse(Collections.emptyList());
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does getOverrides() do?
getOverrides() is a function in the spring-boot codebase.
What does getOverrides() call?
getOverrides() calls 4 function(s): bind, getEnvironment, listOf, orElse.
What calls getOverrides()?
getOverrides() is called by 1 function(s): load.

Analyze Your Own Codebase

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

Try Supermodel Free