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

logsOutput() — spring-boot Function Reference

Architecture documentation for the logsOutput() function in ConditionEvaluationReportLoggerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  8f1aab3c_97f5_14a3_e964_ca9bdb4f4c4c["logsOutput()"]
  41cc5476_ef6c_3893_5cc9_4496aad72e52["get()"]
  8f1aab3c_97f5_14a3_e964_ca9bdb4f4c4c -->|calls| 41cc5476_ef6c_3893_5cc9_4496aad72e52
  1fd9a782_d4ff_66ff_8865_b11ddc6c279a["recordExclusions()"]
  8f1aab3c_97f5_14a3_e964_ca9bdb4f4c4c -->|calls| 1fd9a782_d4ff_66ff_8865_b11ddc6c279a
  9327047a_b59c_dc8f_9809_8461a98bdb21["withDebugLogging()"]
  8f1aab3c_97f5_14a3_e964_ca9bdb4f4c4c -->|calls| 9327047a_b59c_dc8f_9809_8461a98bdb21
  style 8f1aab3c_97f5_14a3_e964_ca9bdb4f4c4c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/logging/ConditionEvaluationReportLoggerTests.java lines 103–115

	@Test
	void logsOutput(CapturedOutput output) {
		try (AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext()) {
			ConditionEvaluationReportLogger logger = new ConditionEvaluationReportLogger(LogLevel.DEBUG,
					() -> ConditionEvaluationReport.get(context.getBeanFactory()));
			context.register(Config.class);
			ConditionEvaluationReport.get(context.getBeanFactory()).recordExclusions(Arrays.asList("com.foo.Bar"));
			context.refresh();
			withDebugLogging(() -> logger.logReport(false));
			assertThat(output).contains("did not find any beans of type java.time.Duration (OnBeanCondition)")
				.contains("@ConditionalOnProperty (com.example.property) matched (OnPropertyCondition)");
		}
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does logsOutput() do?
logsOutput() is a function in the spring-boot codebase.
What does logsOutput() call?
logsOutput() calls 3 function(s): get, recordExclusions, withDebugLogging.

Analyze Your Own Codebase

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

Try Supermodel Free