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

logsDebugOnApplicationFailedEvent() — spring-boot Function Reference

Architecture documentation for the logsDebugOnApplicationFailedEvent() function in ConditionEvaluationReportLoggingListenerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1206d8bd_d656_88ba_793e_bffe9dd675ec["logsDebugOnApplicationFailedEvent()"]
  2a4ed21b_d350_7074_16b4_4fdc57d6fd52["withDebugLogging()"]
  1206d8bd_d656_88ba_793e_bffe9dd675ec -->|calls| 2a4ed21b_d350_7074_16b4_4fdc57d6fd52
  ac439095_7410_bf40_2e58_979d7110817a["ApplicationFailedEvent()"]
  1206d8bd_d656_88ba_793e_bffe9dd675ec -->|calls| ac439095_7410_bf40_2e58_979d7110817a
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"]
  1206d8bd_d656_88ba_793e_bffe9dd675ec -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  style 1206d8bd_d656_88ba_793e_bffe9dd675ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/logging/ConditionEvaluationReportLoggingListenerTests.java lines 67–76

	@Test
	void logsDebugOnApplicationFailedEvent(CapturedOutput output) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
		this.initializer.initialize(context);
		context.register(ErrorConfig.class);
		assertThatException().isThrownBy(context::refresh)
			.satisfies((ex) -> withDebugLogging(() -> context
				.publishEvent(new ApplicationFailedEvent(new SpringApplication(), new String[0], context, ex))));
		assertThat(output).contains("CONDITIONS EVALUATION REPORT");
	}

Domain

Subdomains

Frequently Asked Questions

What does logsDebugOnApplicationFailedEvent() do?
logsDebugOnApplicationFailedEvent() is a function in the spring-boot codebase.
What does logsDebugOnApplicationFailedEvent() call?
logsDebugOnApplicationFailedEvent() calls 3 function(s): ApplicationFailedEvent, SpringApplication, withDebugLogging.

Analyze Your Own Codebase

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

Try Supermodel Free