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

parseDebugArgExpandGroups() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  14c966ea_5e79_8f66_0f1b_6154bfd4fb4f["parseDebugArgExpandGroups()"]
  e4941a37_d532_8edb_200f_24a620639c51["addPropertiesToEnvironment()"]
  14c966ea_5e79_8f66_0f1b_6154bfd4fb4f -->|calls| e4941a37_d532_8edb_200f_24a620639c51
  2708db62_8b10_9bf2_e348_171895b093f2["initialize()"]
  14c966ea_5e79_8f66_0f1b_6154bfd4fb4f -->|calls| 2708db62_8b10_9bf2_e348_171895b093f2
  a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"]
  14c966ea_5e79_8f66_0f1b_6154bfd4fb4f -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  49a45454_f203_2fd5_2d77_322abb416244["getClassLoader()"]
  14c966ea_5e79_8f66_0f1b_6154bfd4fb4f -->|calls| 49a45454_f203_2fd5_2d77_322abb416244
  56dd0c1f_3f75_f3ac_b471_6d4fc4db654d["getConfiguredLevel()"]
  14c966ea_5e79_8f66_0f1b_6154bfd4fb4f -->|calls| 56dd0c1f_3f75_f3ac_b471_6d4fc4db654d
  e3a6021f_4fd2_4807_668f_6ce7e37fe5d4["get()"]
  14c966ea_5e79_8f66_0f1b_6154bfd4fb4f -->|calls| e3a6021f_4fd2_4807_668f_6ce7e37fe5d4
  style 14c966ea_5e79_8f66_0f1b_6154bfd4fb4f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Test
	void parseDebugArgExpandGroups() {
		addPropertiesToEnvironment(this.context, "debug");
		this.listener.initialize(this.context.getEnvironment(), getClassLoader());
		this.loggerContext.getLogger("org.springframework.boot.actuate.endpoint.web").debug("testdebugwebgroup");
		this.loggerContext.getLogger("org.hibernate.SQL").debug("testdebugsqlgroup");
		assertThat(this.output).contains("testdebugwebgroup");
		assertThat(this.output).contains("testdebugsqlgroup");
		LoggerGroups loggerGroups = (LoggerGroups) ReflectionTestUtils.getField(this.listener, "loggerGroups");
		assertThat(loggerGroups).isNotNull();
		LoggerGroup loggerGroup = loggerGroups.get("web");
		assertThat(loggerGroup).isNotNull();
		assertThat(loggerGroup.getConfiguredLevel()).isEqualTo(LogLevel.DEBUG);
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free