logReport() — spring-boot Function Reference
Architecture documentation for the logReport() function in ConditionEvaluationReportLogger.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e2e8acc6_7aa2_1dea_f400_fa74e29fcf3b["logReport()"] 41cc5476_ef6c_3893_5cc9_4496aad72e52["get()"] e2e8acc6_7aa2_1dea_f400_fa74e29fcf3b -->|calls| 41cc5476_ef6c_3893_5cc9_4496aad72e52 74dd21e3_f492_10a8_ed0e_b35e84460d51["getConditionAndOutcomesBySource()"] e2e8acc6_7aa2_1dea_f400_fa74e29fcf3b -->|calls| 74dd21e3_f492_10a8_ed0e_b35e84460d51 4cc56401_f9b8_77d5_bfbe_c92fd76c0795["equals()"] e2e8acc6_7aa2_1dea_f400_fa74e29fcf3b -->|calls| 4cc56401_f9b8_77d5_bfbe_c92fd76c0795 a6bd0477_a84f_09be_d2d3_f2620dda7fb8["logMessage()"] e2e8acc6_7aa2_1dea_f400_fa74e29fcf3b -->|calls| a6bd0477_a84f_09be_d2d3_f2620dda7fb8 style e2e8acc6_7aa2_1dea_f400_fa74e29fcf3b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/logging/ConditionEvaluationReportLogger.java lines 55–79
void logReport(boolean isCrashReport) {
ConditionEvaluationReport report = this.reportSupplier.get();
if (report == null) {
this.logger.info("Unable to provide the condition evaluation report");
return;
}
if (!report.getConditionAndOutcomesBySource().isEmpty()) {
if (this.logLevel.equals(LogLevel.INFO)) {
if (this.logger.isInfoEnabled()) {
this.logger.info(new ConditionEvaluationReportMessage(report));
}
else if (isCrashReport) {
logMessage("info");
}
}
else {
if (this.logger.isDebugEnabled()) {
this.logger.debug(new ConditionEvaluationReportMessage(report));
}
else if (isCrashReport) {
logMessage("debug");
}
}
}
}
Domain
Subdomains
Calls
- equals()
- get()
- getConditionAndOutcomesBySource()
- logMessage()
Source
Frequently Asked Questions
What does logReport() do?
logReport() is a function in the spring-boot codebase.
What does logReport() call?
logReport() calls 4 function(s): equals, get, getConditionAndOutcomesBySource, logMessage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free