getLogMessage() — spring-boot Function Reference
Architecture documentation for the getLogMessage() function in ApplicationAvailabilityBean.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD afd0eb4e_fa3e_82d6_f986_347fef1148c6["getLogMessage()"] c13917f4_29d0_ce72_3b96_21387f376054["onApplicationEvent()"] c13917f4_29d0_ce72_3b96_21387f376054 -->|calls| afd0eb4e_fa3e_82d6_f986_347fef1148c6 00e9471c_73d3_63ec_3c70_9b122b153064["getLastChangeEvent()"] afd0eb4e_fa3e_82d6_f986_347fef1148c6 -->|calls| 00e9471c_73d3_63ec_3c70_9b122b153064 e1cf928e_dc58_c848_1200_3ebd932f159b["getState()"] afd0eb4e_fa3e_82d6_f986_347fef1148c6 -->|calls| e1cf928e_dc58_c848_1200_3ebd932f159b 83bf49a2_e1af_cd7e_a923_bfc286e9d1bd["getSourceDescription()"] afd0eb4e_fa3e_82d6_f986_347fef1148c6 -->|calls| 83bf49a2_e1af_cd7e_a923_bfc286e9d1bd style afd0eb4e_fa3e_82d6_f986_347fef1148c6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/availability/ApplicationAvailabilityBean.java lines 83–91
private <S extends AvailabilityState> Object getLogMessage(Class<S> type, AvailabilityChangeEvent<?> event) {
AvailabilityChangeEvent<S> lastChangeEvent = getLastChangeEvent(type);
StringBuilder message = new StringBuilder(
"Application availability state " + type.getSimpleName() + " changed");
message.append((lastChangeEvent != null) ? " from " + lastChangeEvent.getState() : "");
message.append(" to " + event.getState());
message.append(getSourceDescription(event.getSource()));
return message;
}
Domain
Subdomains
Calls
- getLastChangeEvent()
- getSourceDescription()
- getState()
Called By
Source
Frequently Asked Questions
What does getLogMessage() do?
getLogMessage() is a function in the spring-boot codebase.
What does getLogMessage() call?
getLogMessage() calls 3 function(s): getLastChangeEvent, getSourceDescription, getState.
What calls getLogMessage()?
getLogMessage() is called by 1 function(s): onApplicationEvent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free