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

printSingleStackTrace() — spring-boot Function Reference

Architecture documentation for the printSingleStackTrace() function in StandardStackTracePrinter.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 8 called by 1

Entity Profile

Dependency Diagram

graph TD
  73898de1_d47e_badf_237e_a5abba45c416["printSingleStackTrace()"]
  71298ea1_aca8_3c91_d626_ab341c3a02f4["printFullStackTrace()"]
  71298ea1_aca8_3c91_d626_ab341c3a02f4 -->|calls| 73898de1_d47e_badf_237e_a5abba45c416
  86e3e48e_de31_d4fa_44e0_ba7302a6dbcd["hashPrefix()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| 86e3e48e_de31_d4fa_44e0_ba7302a6dbcd
  42a1e0ba_1f33_18e2_8339_c3a381c06c89["throwable()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| 42a1e0ba_1f33_18e2_8339_c3a381c06c89
  8aaecaea_700b_6c09_8d90_9e6d0ebed2e0["thrown()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| 8aaecaea_700b_6c09_8d90_9e6d0ebed2e0
  b883e2dd_307c_55f6_ce0c_0f696467360d["printFrames()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| b883e2dd_307c_55f6_ce0c_0f696467360d
  c2dcaed2_c1b6_e419_112a_517658f69e3f["hasOption()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| c2dcaed2_c1b6_e419_112a_517658f69e3f
  aa475e7d_8968_78c0_190a_01322d7a5f48["suppressed()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| aa475e7d_8968_78c0_190a_01322d7a5f48
  71298ea1_aca8_3c91_d626_ab341c3a02f4["printFullStackTrace()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| 71298ea1_aca8_3c91_d626_ab341c3a02f4
  aef59a20_5ca0_34f5_2d7d_dc918b8d2664["withSuppressedCaption()"]
  73898de1_d47e_badf_237e_a5abba45c416 -->|calls| aef59a20_5ca0_34f5_2d7d_dc918b8d2664
  style 73898de1_d47e_badf_237e_a5abba45c416 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java lines 116–130

	private void printSingleStackTrace(Set<Throwable> seen, Print print, StackTrace stackTrace,
			@Nullable StackTrace enclosing) throws IOException {
		String hashPrefix = stackTrace.hashPrefix(this.frameHasher);
		String throwable = this.formatter.apply(stackTrace.throwable());
		print.thrown(hashPrefix, throwable);
		printFrames(print, stackTrace, enclosing);
		if (!hasOption(Option.HIDE_SUPPRESSED)) {
			StackTrace[] suppressed = stackTrace.suppressed();
			if (suppressed != null) {
				for (StackTrace suppressedStackTrace : suppressed) {
					printFullStackTrace(seen, print.withSuppressedCaption(), suppressedStackTrace, stackTrace);
				}
			}
		}
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does printSingleStackTrace() do?
printSingleStackTrace() is a function in the spring-boot codebase.
What does printSingleStackTrace() call?
printSingleStackTrace() calls 8 function(s): hasOption, hashPrefix, printFrames, printFullStackTrace, suppressed, throwable, thrown, withSuppressedCaption.
What calls printSingleStackTrace()?
printSingleStackTrace() is called by 1 function(s): printFullStackTrace.

Analyze Your Own Codebase

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

Try Supermodel Free