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

applicationNameLoggingToConsoleWhenHasApplicationNameWithParenthesis() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  9c9091a2_b7f9_1587_f024_262f4080a8be["applicationNameLoggingToConsoleWhenHasApplicationNameWithParenthesis()"]
  bffa5cc2_2336_d219_9e81_a81a831f09b1["initialize()"]
  9c9091a2_b7f9_1587_f024_262f4080a8be -->|calls| bffa5cc2_2336_d219_9e81_a81a831f09b1
  599de821_15df_43cf_ef7e_1637f660f37b["getLineWithText()"]
  9c9091a2_b7f9_1587_f024_262f4080a8be -->|calls| 599de821_15df_43cf_ef7e_1637f660f37b
  501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"]
  9c9091a2_b7f9_1587_f024_262f4080a8be -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264
  style 9c9091a2_b7f9_1587_f024_262f4080a8be fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Test
	void applicationNameLoggingToConsoleWhenHasApplicationNameWithParenthesis(CapturedOutput output) {
		this.environment.setProperty("spring.application.name", "myapp (dev)");
		this.loggingSystem.disableSelfInitialization();
		this.loggingSystem.beforeInitialize();
		this.loggingSystem.initialize(this.initializationContext, null, null);
		this.logger.info("Hello world");
		assertThat(getLineWithText(output, "Hello world")).contains("[myapp (dev)] ");
	}

Domain

Subdomains

Frequently Asked Questions

What does applicationNameLoggingToConsoleWhenHasApplicationNameWithParenthesis() do?
applicationNameLoggingToConsoleWhenHasApplicationNameWithParenthesis() is a function in the spring-boot codebase.
What does applicationNameLoggingToConsoleWhenHasApplicationNameWithParenthesis() call?
applicationNameLoggingToConsoleWhenHasApplicationNameWithParenthesis() calls 3 function(s): beforeInitialize, getLineWithText, initialize.

Analyze Your Own Codebase

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

Try Supermodel Free