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

of() — spring-boot Function Reference

Architecture documentation for the of() function in TestContextPairs.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  992488db_c012_bc33_91bd_d809cf9c61dd["of()"]
  ec17885d_f40c_f3cf_d936_1a0531757cf4["shouldFormat()"]
  ec17885d_f40c_f3cf_d936_1a0531757cf4 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  7e9b9737_19b0_58a4_2dbc_d64300e2a84e["shouldFormatStructuredMessage()"]
  7e9b9737_19b0_58a4_2dbc_d64300e2a84e -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  02dc7e6a_f32b_64d5_24bb_c6a34bf32885["shouldFormatMarkersAsTags()"]
  02dc7e6a_f32b_64d5_24bb_c6a34bf32885 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  73cff8b9_d1da_70a5_3568_5b130f551747["shouldFormat()"]
  73cff8b9_d1da_70a5_3568_5b130f551747 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  78598925_9198_9a5f_c68e_437274517b3a["shouldNotAllowInvalidFieldNames()"]
  78598925_9198_9a5f_c68e_437274517b3a -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  ca581dde_bb82_8480_0f3c_f0819bd52265["shouldNotAllowIllegalFieldNames()"]
  ca581dde_bb82_8480_0f3c_f0819bd52265 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  93a0a7c4_4c91_79db_55c9_62cdab9cfda5["shouldNotAddDoubleUnderscoreToCustomFields()"]
  93a0a7c4_4c91_79db_55c9_62cdab9cfda5 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  77fbc7af_c46e_6da6_f28f_8aad0243467b["shouldFormat()"]
  77fbc7af_c46e_6da6_f28f_8aad0243467b -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  92a98b67_ef04_9a01_12b6_4443308041d9["shouldFormatStructuredMessage()"]
  92a98b67_ef04_9a01_12b6_4443308041d9 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  3ce82baf_d840_b7a2_bc3c_ad37af144c69["shouldFormat()"]
  3ce82baf_d840_b7a2_bc3c_ad37af144c69 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  b4aa00d2_8131_343a_8e57_af97cd9e07e6["shouldFormatMarkersAsTags()"]
  b4aa00d2_8131_343a_8e57_af97cd9e07e6 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  6d7d6231_13da_71f5_a81e_5fa2f2c0b680["shouldNestMdcAndKeyValuePairs()"]
  6d7d6231_13da_71f5_a81e_5fa2f2c0b680 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  752006c6_516d_7ce5_4591_f41a2c6cac02["shouldFormat()"]
  752006c6_516d_7ce5_4591_f41a2c6cac02 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  ea01a273_102a_56f0_5636_cb6a3ddad1e4["shouldNotAllowInvalidFieldNames()"]
  ea01a273_102a_56f0_5636_cb6a3ddad1e4 -->|calls| 992488db_c012_bc33_91bd_d809cf9c61dd
  style 992488db_c012_bc33_91bd_d809cf9c61dd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/structured/TestContextPairs.java lines 35–37

	public static ContextPairs of(boolean include, @Nullable String prefix) {
		return new ContextPairs(include, prefix);
	}

Domain

Subdomains

Called By

  • include()
  • shouldFormat()
  • shouldFormat()
  • shouldFormat()
  • shouldFormat()
  • shouldFormat()
  • shouldFormat()
  • shouldFormatMarkersAsTags()
  • shouldFormatMarkersAsTags()
  • shouldFormatStructuredMessage()
  • shouldFormatStructuredMessage()
  • shouldNestMdcAndKeyValuePairs()
  • shouldNotAddDoubleUnderscoreToCustomFields()
  • shouldNotAddDoubleUnderscoreToCustomFields()
  • shouldNotAllowIllegalFieldNames()
  • shouldNotAllowIllegalFieldNames()
  • shouldNotAllowInvalidFieldNames()
  • shouldNotAllowInvalidFieldNames()

Frequently Asked Questions

What does of() do?
of() is a function in the spring-boot codebase.
What calls of()?
of() is called by 18 function(s): include, shouldFormat, shouldFormat, shouldFormat, shouldFormat, shouldFormat, shouldFormat, shouldFormatMarkersAsTags, and 10 more.

Analyze Your Own Codebase

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

Try Supermodel Free