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

loggingPerformedDuringChildApplicationStartIsNotLost() — spring-boot Function Reference

Architecture documentation for the loggingPerformedDuringChildApplicationStartIsNotLost() function in LoggingApplicationListenerIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  7df18ae5_4388_cf89_197e_0eb635b31cfa["loggingPerformedDuringChildApplicationStartIsNotLost()"]
  67bae297_b590_f5e5_2666_5d557e3b57b1["SpringApplicationBuilder()"]
  7df18ae5_4388_cf89_197e_0eb635b31cfa -->|calls| 67bae297_b590_f5e5_2666_5d557e3b57b1
  96180309_d35f_64e9_f339_53aa62a53500["web()"]
  7df18ae5_4388_cf89_197e_0eb635b31cfa -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  a64bbc22_3f73_434d_d720_26462030b670["child()"]
  7df18ae5_4388_cf89_197e_0eb635b31cfa -->|calls| a64bbc22_3f73_434d_d720_26462030b670
  3b5ce68c_2b5f_b508_6e6a_e382ec1495f5["listeners()"]
  7df18ae5_4388_cf89_197e_0eb635b31cfa -->|calls| 3b5ce68c_2b5f_b508_6e6a_e382ec1495f5
  3613e214_49bf_015b_c43f_7f8a1274fb0b["run()"]
  7df18ae5_4388_cf89_197e_0eb635b31cfa -->|calls| 3613e214_49bf_015b_c43f_7f8a1274fb0b
  style 7df18ae5_4388_cf89_197e_0eb635b31cfa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerIntegrationTests.java lines 83–100

	@Test
	void loggingPerformedDuringChildApplicationStartIsNotLost(CapturedOutput output) {
		new SpringApplicationBuilder(Config.class).web(WebApplicationType.NONE)
			.child(Config.class)
			.web(WebApplicationType.NONE)
			.listeners(new ApplicationListener<ApplicationStartingEvent>() {

				private final Logger logger = LoggerFactory.getLogger(getClass());

				@Override
				public void onApplicationEvent(ApplicationStartingEvent event) {
					this.logger.info("Child application starting");
				}

			})
			.run();
		assertThat(output).contains("Child application starting");
	}

Domain

Subdomains

Frequently Asked Questions

What does loggingPerformedDuringChildApplicationStartIsNotLost() do?
loggingPerformedDuringChildApplicationStartIsNotLost() is a function in the spring-boot codebase.
What does loggingPerformedDuringChildApplicationStartIsNotLost() call?
loggingPerformedDuringChildApplicationStartIsNotLost() calls 5 function(s): SpringApplicationBuilder, child, listeners, run, web.

Analyze Your Own Codebase

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

Try Supermodel Free