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

setLevelToNull() — spring-boot Function Reference

Architecture documentation for the setLevelToNull() function in JavaLoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  4b8aff14_c25f_36e7_a9d6_45b8c124cf06["setLevelToNull()"]
  bffa5cc2_2336_d219_9e81_a81a831f09b1["initialize()"]
  4b8aff14_c25f_36e7_a9d6_45b8c124cf06 -->|calls| bffa5cc2_2336_d219_9e81_a81a831f09b1
  7717cdc8_e256_829d_da23_be6602ac541c["getInitializationContext()"]
  4b8aff14_c25f_36e7_a9d6_45b8c124cf06 -->|calls| 7717cdc8_e256_829d_da23_be6602ac541c
  501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"]
  4b8aff14_c25f_36e7_a9d6_45b8c124cf06 -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264
  121b7287_c247_a3cc_c719_79c9c639fbd5["setLogLevel()"]
  4b8aff14_c25f_36e7_a9d6_45b8c124cf06 -->|calls| 121b7287_c247_a3cc_c719_79c9c639fbd5
  2e437797_0fdf_06b1_16ed_9c7737c94fcc["toString()"]
  4b8aff14_c25f_36e7_a9d6_45b8c124cf06 -->|calls| 2e437797_0fdf_06b1_16ed_9c7737c94fcc
  style 4b8aff14_c25f_36e7_a9d6_45b8c124cf06 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/java/JavaLoggingSystemTests.java lines 162–172

	@Test
	void setLevelToNull(CapturedOutput output) {
		this.loggingSystem.beforeInitialize();
		this.loggingSystem.initialize(getInitializationContext(), null, null);
		this.logger.fine("Hello");
		this.loggingSystem.setLogLevel("org.springframework.boot", LogLevel.DEBUG);
		this.logger.fine("Hello");
		this.loggingSystem.setLogLevel("org.springframework.boot", null);
		this.logger.fine("Hello");
		assertThat(StringUtils.countOccurrencesOf(output.toString(), "Hello")).isOne();
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free