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

print() — spring-boot Function Reference

Architecture documentation for the print() function in SpringApplicationBannerPrinter.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  ace8309b_97c4_c412_8adb_82ab3f199411["print()"]
  708a890c_22a2_bb3c_ed24_743769c96449["getBanner()"]
  ace8309b_97c4_c412_8adb_82ab3f199411 -->|calls| 708a890c_22a2_bb3c_ed24_743769c96449
  54edee43_73fe_28db_258a_95d3f26a9b8e["createStringFromBanner()"]
  ace8309b_97c4_c412_8adb_82ab3f199411 -->|calls| 54edee43_73fe_28db_258a_95d3f26a9b8e
  c4c5109a_9f83_509f_6ea9_eb812b6f4c56["PrintedBanner()"]
  ace8309b_97c4_c412_8adb_82ab3f199411 -->|calls| c4c5109a_9f83_509f_6ea9_eb812b6f4c56
  8e326be0_7171_3799_e2ba_b5a430a5ba16["printBanner()"]
  ace8309b_97c4_c412_8adb_82ab3f199411 -->|calls| 8e326be0_7171_3799_e2ba_b5a430a5ba16
  style ace8309b_97c4_c412_8adb_82ab3f199411 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplicationBannerPrinter.java lines 56–65

	Banner print(Environment environment, @Nullable Class<?> sourceClass, Log logger) {
		Banner banner = getBanner(environment);
		try {
			logger.info(createStringFromBanner(banner, environment, sourceClass));
		}
		catch (UnsupportedEncodingException ex) {
			logger.warn("Failed to create String for banner", ex);
		}
		return new PrintedBanner(banner, sourceClass);
	}

Domain

Subdomains

Calls

  • PrintedBanner()
  • createStringFromBanner()
  • getBanner()
  • printBanner()

Frequently Asked Questions

What does print() do?
print() is a function in the spring-boot codebase.
What does print() call?
print() calls 4 function(s): PrintedBanner, createStringFromBanner, getBanner, printBanner.

Analyze Your Own Codebase

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

Try Supermodel Free