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

parseDebugArg() — spring-boot Function Reference

Architecture documentation for the parseDebugArg() function in LoggingApplicationListenerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  e565b3d9_458c_4c11_5835_b543e81d96a2["parseDebugArg()"]
  e4941a37_d532_8edb_200f_24a620639c51["addPropertiesToEnvironment()"]
  e565b3d9_458c_4c11_5835_b543e81d96a2 -->|calls| e4941a37_d532_8edb_200f_24a620639c51
  2708db62_8b10_9bf2_e348_171895b093f2["initialize()"]
  e565b3d9_458c_4c11_5835_b543e81d96a2 -->|calls| 2708db62_8b10_9bf2_e348_171895b093f2
  a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"]
  e565b3d9_458c_4c11_5835_b543e81d96a2 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  49a45454_f203_2fd5_2d77_322abb416244["getClassLoader()"]
  e565b3d9_458c_4c11_5835_b543e81d96a2 -->|calls| 49a45454_f203_2fd5_2d77_322abb416244
  style e565b3d9_458c_4c11_5835_b543e81d96a2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java lines 272–280

	@Test
	void parseDebugArg() {
		addPropertiesToEnvironment(this.context, "debug");
		this.listener.initialize(this.context.getEnvironment(), getClassLoader());
		this.logger.debug("testatdebug");
		this.logger.trace("testattrace");
		assertThat(this.output).contains("testatdebug");
		assertThat(this.output).doesNotContain("testattrace");
	}

Domain

Subdomains

Frequently Asked Questions

What does parseDebugArg() do?
parseDebugArg() is a function in the spring-boot codebase.
What does parseDebugArg() call?
parseDebugArg() calls 4 function(s): addPropertiesToEnvironment, getClassLoader, getEnvironment, initialize.

Analyze Your Own Codebase

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

Try Supermodel Free