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

log() — spring-boot Function Reference

Architecture documentation for the log() function in BuildImageMojo.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c1b8837e_416b_c0d3_62c5_31209113f45f["log()"]
  b9c54804_819b_9a17_b268_cb1573193fa3["log()"]
  b9c54804_819b_9a17_b268_cb1573193fa3 -->|calls| c1b8837e_416b_c0d3_62c5_31209113f45f
  f0f0fc38_d1df_774d_a4e9_2059adca4c1d["accept()"]
  f0f0fc38_d1df_774d_a4e9_2059adca4c1d -->|calls| c1b8837e_416b_c0d3_62c5_31209113f45f
  b9c54804_819b_9a17_b268_cb1573193fa3["log()"]
  c1b8837e_416b_c0d3_62c5_31209113f45f -->|calls| b9c54804_819b_9a17_b268_cb1573193fa3
  style c1b8837e_416b_c0d3_62c5_31209113f45f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java lines 402–407

			private void log(int percent) {
				if (percent == 100 || (System.currentTimeMillis() - this.last) > THRESHOLD) {
					MojoBuildLog.this.log.get().info(this.message + " " + percent + "%");
					this.last = System.currentTimeMillis();
				}
			}

Domain

Subdomains

Calls

Called By

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): log.
What calls log()?
log() is called by 2 function(s): accept, log.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free