logConditionAndOutcome() — spring-boot Function Reference
Architecture documentation for the logConditionAndOutcome() function in ConditionEvaluationReportMessage.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 36d91e88_a689_0966_eefd_eb012d05d30a["logConditionAndOutcome()"] cdb98177_78b4_948e_3609_494f105a264f["addMatchLogMessage()"] cdb98177_78b4_948e_3609_494f105a264f -->|calls| 36d91e88_a689_0966_eefd_eb012d05d30a b9811ad4_ce37_0221_7f6c_ced6410b36e8["addNonMatchLogMessage()"] b9811ad4_ce37_0221_7f6c_ced6410b36e8 -->|calls| 36d91e88_a689_0966_eefd_eb012d05d30a 4045300f_88b1_c7e4_1bff_e7c58cbe09af["getOutcome()"] 36d91e88_a689_0966_eefd_eb012d05d30a -->|calls| 4045300f_88b1_c7e4_1bff_e7c58cbe09af 20f66068_039a_2a9a_0552_b9416aedb1dd["getCondition()"] 36d91e88_a689_0966_eefd_eb012d05d30a -->|calls| 20f66068_039a_2a9a_0552_b9416aedb1dd style 36d91e88_a689_0966_eefd_eb012d05d30a 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 188–200
private void logConditionAndOutcome(StringBuilder message, String indent, ConditionAndOutcome conditionAndOutcome) {
message.append(String.format("%s- ", indent));
String outcomeMessage = conditionAndOutcome.getOutcome().getMessage();
if (StringUtils.hasLength(outcomeMessage)) {
message.append(outcomeMessage);
}
else {
message.append(conditionAndOutcome.getOutcome().isMatch() ? "matched" : "did not match");
}
message.append(" (");
message.append(ClassUtils.getShortName(conditionAndOutcome.getCondition().getClass()));
message.append(String.format(")%n"));
}
Domain
Subdomains
Calls
- getCondition()
- getOutcome()
Called By
- addMatchLogMessage()
- addNonMatchLogMessage()
Source
Frequently Asked Questions
What does logConditionAndOutcome() do?
logConditionAndOutcome() is a function in the spring-boot codebase.
What does logConditionAndOutcome() call?
logConditionAndOutcome() calls 2 function(s): getCondition, getOutcome.
What calls logConditionAndOutcome()?
logConditionAndOutcome() is called by 2 function(s): addMatchLogMessage, addNonMatchLogMessage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free