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

createPrinterWhenClassNameInjectsConfiguredPrinter() — spring-boot Function Reference

Architecture documentation for the createPrinterWhenClassNameInjectsConfiguredPrinter() function in StructuredLoggingJsonPropertiesTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  3e5f169d_abd8_4143_0c25_16cc87fe7805["createPrinterWhenClassNameInjectsConfiguredPrinter()"]
  0fd6408a_53ce_f78c_7f5b_9c878864dbe7["create()"]
  3e5f169d_abd8_4143_0c25_16cc87fe7805 -->|calls| 0fd6408a_53ce_f78c_7f5b_9c878864dbe7
  67597706_c252_cead_f617_cf5b855b7034["StackTrace()"]
  3e5f169d_abd8_4143_0c25_16cc87fe7805 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  c088fb00_ef06_1c30_8c91_c0eef0c70613["withoutLineNumbers()"]
  3e5f169d_abd8_4143_0c25_16cc87fe7805 -->|calls| c088fb00_ef06_1c30_8c91_c0eef0c70613
  style 3e5f169d_abd8_4143_0c25_16cc87fe7805 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/structured/StructuredLoggingJsonPropertiesTests.java lines 187–196

		@Test
		void createPrinterWhenClassNameInjectsConfiguredPrinter() {
			Exception exception = TestException.create();
			StackTrace properties = new StackTrace(TestStackTracePrinterCustomized.class.getName(), Root.FIRST, 300, 2,
					true, null);
			StackTracePrinter printer = properties.createPrinter();
			assertThat(printer).isNotNull();
			String actual = TestException.withoutLineNumbers(printer.printStackTraceToString(exception));
			assertThat(actual).isEqualTo("RuntimeExceptionroot!	at org.springfr...");
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does createPrinterWhenClassNameInjectsConfiguredPrinter() do?
createPrinterWhenClassNameInjectsConfiguredPrinter() is a function in the spring-boot codebase.
What does createPrinterWhenClassNameInjectsConfiguredPrinter() call?
createPrinterWhenClassNameInjectsConfiguredPrinter() calls 3 function(s): StackTrace, create, withoutLineNumbers.

Analyze Your Own Codebase

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

Try Supermodel Free