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

logPositiveMatches() — spring-boot Function Reference

Architecture documentation for the logPositiveMatches() function in ConditionEvaluationReportMessage.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  7aa7be61_9efb_7658_e525_41c5e15866c6["logPositiveMatches()"]
  00d782c6_832a_014b_e667_2150c67ac7be["getLogMessage()"]
  00d782c6_832a_014b_e667_2150c67ac7be -->|calls| 7aa7be61_9efb_7658_e525_41c5e15866c6
  240434a3_def1_ec67_4122_f655c48f2e31["stream()"]
  7aa7be61_9efb_7658_e525_41c5e15866c6 -->|calls| 240434a3_def1_ec67_4122_f655c48f2e31
  9f66673a_df4b_4203_34db_6cdbcdce26f2["isFullMatch()"]
  7aa7be61_9efb_7658_e525_41c5e15866c6 -->|calls| 9f66673a_df4b_4203_34db_6cdbcdce26f2
  cdb98177_78b4_948e_3609_494f105a264f["addMatchLogMessage()"]
  7aa7be61_9efb_7658_e525_41c5e15866c6 -->|calls| cdb98177_78b4_948e_3609_494f105a264f
  style 7aa7be61_9efb_7658_e525_41c5e15866c6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/logging/ConditionEvaluationReportMessage.java lines 71–85

	private void logPositiveMatches(StringBuilder message, Map<String, ConditionAndOutcomes> shortOutcomes) {
		message.append(String.format("Positive matches:%n"));
		message.append(String.format("-----------------%n"));
		List<Entry<String, ConditionAndOutcomes>> matched = shortOutcomes.entrySet()
			.stream()
			.filter((entry) -> entry.getValue().isFullMatch())
			.toList();
		if (matched.isEmpty()) {
			message.append(String.format("%n    None%n"));
		}
		else {
			matched.forEach((entry) -> addMatchLogMessage(message, entry.getKey(), entry.getValue()));
		}
		message.append(String.format("%n%n"));
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does logPositiveMatches() do?
logPositiveMatches() is a function in the spring-boot codebase.
What does logPositiveMatches() call?
logPositiveMatches() calls 3 function(s): addMatchLogMessage, isFullMatch, stream.
What calls logPositiveMatches()?
logPositiveMatches() is called by 1 function(s): getLogMessage.

Analyze Your Own Codebase

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

Try Supermodel Free