log() — spring-boot Function Reference
Architecture documentation for the log() function in DeferredLog.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 65eb6338_c2bd_94b2_1b69_abea09417bfb["log()"] ba78a360_25cd_3ba0_9484_82d9089ba769["trace()"] ba78a360_25cd_3ba0_9484_82d9089ba769 -->|calls| 65eb6338_c2bd_94b2_1b69_abea09417bfb 9c429a69_5d38_54dd_a4a0_03338229de18["debug()"] 9c429a69_5d38_54dd_a4a0_03338229de18 -->|calls| 65eb6338_c2bd_94b2_1b69_abea09417bfb 81a68db9_0df2_f1b0_8014_9bd77a45438d["info()"] 81a68db9_0df2_f1b0_8014_9bd77a45438d -->|calls| 65eb6338_c2bd_94b2_1b69_abea09417bfb e1e85454_734e_f215_be2a_ae0a75158bc5["warn()"] e1e85454_734e_f215_be2a_ae0a75158bc5 -->|calls| 65eb6338_c2bd_94b2_1b69_abea09417bfb 3f6ca8a3_180b_fed7_ae86_c4532b8f05ba["error()"] 3f6ca8a3_180b_fed7_ae86_c4532b8f05ba -->|calls| 65eb6338_c2bd_94b2_1b69_abea09417bfb b4e12488_7ad4_7011_fb21_6e840de27448["fatal()"] b4e12488_7ad4_7011_fb21_6e840de27448 -->|calls| 65eb6338_c2bd_94b2_1b69_abea09417bfb 020901ab_5878_4912_8a6d_b72c92df20af["replayTo()"] 020901ab_5878_4912_8a6d_b72c92df20af -->|calls| 65eb6338_c2bd_94b2_1b69_abea09417bfb 97e211a8_1260_f123_2c66_0c8594683914["add()"] 65eb6338_c2bd_94b2_1b69_abea09417bfb -->|calls| 97e211a8_1260_f123_2c66_0c8594683914 style 65eb6338_c2bd_94b2_1b69_abea09417bfb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/DeferredLog.java lines 167–176
private void log(LogLevel level, Object message, @Nullable Throwable t) {
synchronized (this.lines) {
if (this.destination != null) {
level.log(this.destination, message, t);
}
else {
this.lines.add(this.destinationSupplier, level, message, t);
}
}
}
Domain
Subdomains
Calls
- add()
Called By
- debug()
- error()
- fatal()
- info()
- replayTo()
- trace()
- warn()
Source
Frequently Asked Questions
What does log() do?
log() is a function in the spring-boot codebase.
What does log() call?
log() calls 1 function(s): add.
What calls log()?
log() is called by 7 function(s): debug, error, fatal, info, replayTo, trace, warn.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free