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

logNegativeMatches() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  02e8b4aa_1a04_a03a_d06f_0d4fc1026e75["logNegativeMatches()"]
  00d782c6_832a_014b_e667_2150c67ac7be["getLogMessage()"]
  00d782c6_832a_014b_e667_2150c67ac7be -->|calls| 02e8b4aa_1a04_a03a_d06f_0d4fc1026e75
  240434a3_def1_ec67_4122_f655c48f2e31["stream()"]
  02e8b4aa_1a04_a03a_d06f_0d4fc1026e75 -->|calls| 240434a3_def1_ec67_4122_f655c48f2e31
  9f66673a_df4b_4203_34db_6cdbcdce26f2["isFullMatch()"]
  02e8b4aa_1a04_a03a_d06f_0d4fc1026e75 -->|calls| 9f66673a_df4b_4203_34db_6cdbcdce26f2
  b9811ad4_ce37_0221_7f6c_ced6410b36e8["addNonMatchLogMessage()"]
  02e8b4aa_1a04_a03a_d06f_0d4fc1026e75 -->|calls| b9811ad4_ce37_0221_7f6c_ced6410b36e8
  style 02e8b4aa_1a04_a03a_d06f_0d4fc1026e75 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 87–101

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

Domain

Subdomains

Called By

Frequently Asked Questions

What does logNegativeMatches() do?
logNegativeMatches() is a function in the spring-boot codebase.
What does logNegativeMatches() call?
logNegativeMatches() calls 3 function(s): addNonMatchLogMessage, isFullMatch, stream.
What calls logNegativeMatches()?
logNegativeMatches() 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