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

logsInfoGuidanceToEnableDebugLoggingOnApplicationFailedEvent() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2a8856dc_ad8b_3def_67db_12d98b31f633["logsInfoGuidanceToEnableDebugLoggingOnApplicationFailedEvent()"]
  78ad1497_8886_91a2_1f03_c1c5e3d02a84["withInfoLogging()"]
  2a8856dc_ad8b_3def_67db_12d98b31f633 -->|calls| 78ad1497_8886_91a2_1f03_c1c5e3d02a84
  ac439095_7410_bf40_2e58_979d7110817a["ApplicationFailedEvent()"]
  2a8856dc_ad8b_3def_67db_12d98b31f633 -->|calls| ac439095_7410_bf40_2e58_979d7110817a
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"]
  2a8856dc_ad8b_3def_67db_12d98b31f633 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  style 2a8856dc_ad8b_3def_67db_12d98b31f633 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 78–88

	@Test
	void logsInfoGuidanceToEnableDebugLoggingOnApplicationFailedEvent(CapturedOutput output) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
		this.initializer.initialize(context);
		context.register(ErrorConfig.class);
		assertThatException().isThrownBy(context::refresh)
			.satisfies((ex) -> withInfoLogging(() -> context
				.publishEvent(new ApplicationFailedEvent(new SpringApplication(), new String[0], context, ex))));
		assertThat(output).doesNotContain("CONDITIONS EVALUATION REPORT")
			.contains("re-run your application with 'debug' enabled");
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free