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

applicationGroupLoggingToFileWhenHasApplicationGroupWithParenthesis() — spring-boot Function Reference

Architecture documentation for the applicationGroupLoggingToFileWhenHasApplicationGroupWithParenthesis() function in LogbackLoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  5195a14a_e807_203a_8456_f92a8991677f["applicationGroupLoggingToFileWhenHasApplicationGroupWithParenthesis()"]
  13cca41d_e6d4_6c55_4166_597017d5c02e["tmpDir()"]
  5195a14a_e807_203a_8456_f92a8991677f -->|calls| 13cca41d_e6d4_6c55_4166_597017d5c02e
  bc937c1c_ec1c_7511_0eee_c35de09ea03e["getLogFile()"]
  5195a14a_e807_203a_8456_f92a8991677f -->|calls| bc937c1c_ec1c_7511_0eee_c35de09ea03e
  58d8d837_b5a1_09c5_cdb4_ff02e18c8c38["initialize()"]
  5195a14a_e807_203a_8456_f92a8991677f -->|calls| 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38
  599de821_15df_43cf_ef7e_1637f660f37b["getLineWithText()"]
  5195a14a_e807_203a_8456_f92a8991677f -->|calls| 599de821_15df_43cf_ef7e_1637f660f37b
  style 5195a14a_e807_203a_8456_f92a8991677f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemTests.java lines 1101–1109

	@Test
	void applicationGroupLoggingToFileWhenHasApplicationGroupWithParenthesis() {
		this.environment.setProperty("spring.application.group", "mygroup (dev)");
		File file = new File(tmpDir(), "logback-test.log");
		LogFile logFile = getLogFile(file.getPath(), null);
		initialize(this.initializationContext, null, logFile);
		this.logger.info("Hello world");
		assertThat(getLineWithText(file, "Hello world")).contains("[mygroup (dev)] ");
	}

Domain

Subdomains

Frequently Asked Questions

What does applicationGroupLoggingToFileWhenHasApplicationGroupWithParenthesis() do?
applicationGroupLoggingToFileWhenHasApplicationGroupWithParenthesis() is a function in the spring-boot codebase.
What does applicationGroupLoggingToFileWhenHasApplicationGroupWithParenthesis() call?
applicationGroupLoggingToFileWhenHasApplicationGroupWithParenthesis() calls 4 function(s): getLineWithText, getLogFile, initialize, tmpDir.

Analyze Your Own Codebase

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

Try Supermodel Free