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

getLoggerConfigurationForNonExistentLoggerShouldReturnNull() — spring-boot Function Reference

Architecture documentation for the getLoggerConfigurationForNonExistentLoggerShouldReturnNull() function in Log4J2LoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  be8d5242_11f3_a361_a2a8_556edd49ff95["getLoggerConfigurationForNonExistentLoggerShouldReturnNull()"]
  bffa5cc2_2336_d219_9e81_a81a831f09b1["initialize()"]
  be8d5242_11f3_a361_a2a8_556edd49ff95 -->|calls| bffa5cc2_2336_d219_9e81_a81a831f09b1
  9519ed59_465e_41a6_0d10_16e0e71a34a1["getLoggerConfiguration()"]
  be8d5242_11f3_a361_a2a8_556edd49ff95 -->|calls| 9519ed59_465e_41a6_0d10_16e0e71a34a1
  501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"]
  be8d5242_11f3_a361_a2a8_556edd49ff95 -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264
  121b7287_c247_a3cc_c719_79c9c639fbd5["setLogLevel()"]
  be8d5242_11f3_a361_a2a8_556edd49ff95 -->|calls| 121b7287_c247_a3cc_c719_79c9c639fbd5
  5442b6c9_c948_65c9_3b32_df1993add6a2["getName()"]
  be8d5242_11f3_a361_a2a8_556edd49ff95 -->|calls| 5442b6c9_c948_65c9_3b32_df1993add6a2
  style be8d5242_11f3_a361_a2a8_556edd49ff95 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystemTests.java lines 270–277

	@Test
	void getLoggerConfigurationForNonExistentLoggerShouldReturnNull() {
		this.loggingSystem.beforeInitialize();
		this.loggingSystem.initialize(this.initializationContext, null, null);
		this.loggingSystem.setLogLevel(getClass().getName(), LogLevel.DEBUG);
		LoggerConfiguration configuration = this.loggingSystem.getLoggerConfiguration("doesnotexist");
		assertThat(configuration).isNull();
	}

Domain

Subdomains

Frequently Asked Questions

What does getLoggerConfigurationForNonExistentLoggerShouldReturnNull() do?
getLoggerConfigurationForNonExistentLoggerShouldReturnNull() is a function in the spring-boot codebase.
What does getLoggerConfigurationForNonExistentLoggerShouldReturnNull() call?
getLoggerConfigurationForNonExistentLoggerShouldReturnNull() calls 5 function(s): beforeInitialize, getLoggerConfiguration, getName, initialize, setLogLevel.

Analyze Your Own Codebase

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

Try Supermodel Free