of() — spring-boot Function Reference
Architecture documentation for the of() function in LoggerConfiguration.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD cd4620eb_deae_3575_f645_e33d9aacf415["of()"] e19376dd_50cc_d749_9a96_43dc4f39358a["LoggerConfiguration()"] e19376dd_50cc_d749_9a96_43dc4f39358a -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 cab26d65_e7ee_b26c_4699_119d74307728["getSupportedLevels()"] cab26d65_e7ee_b26c_4699_119d74307728 -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 843e96a9_e536_4564_00a1_4c4f374741aa["correlationLoggingToFileWhenExpectCorrelationIdTrueAndMdcContent()"] 843e96a9_e536_4564_00a1_4c4f374741aa -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 0cb981a8_5b06_aeda_3728_219b0f5f95c4["correlationLoggingToConsoleWhenExpectCorrelationIdTrueAndMdcContent()"] 0cb981a8_5b06_aeda_3728_219b0f5f95c4 -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 b4b83dc1_9191_7db1_24ba_7ae39d0bb705["correlationLoggingToConsoleWhenExpectCorrelationIdFalseAndMdcContent()"] b4b83dc1_9191_7db1_24ba_7ae39d0bb705 -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 ca086653_5113_ea33_c589_657facc7cacd["correlationLoggingToConsoleWhenHasCorrelationPattern()"] ca086653_5113_ea33_c589_657facc7cacd -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 ac0e359a_2cab_7d6f_5d53_9ce35e59a7ea["getSupportedLevels()"] ac0e359a_2cab_7d6f_5d53_9ce35e59a7ea -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 0011acb7_da2e_5b58_e839_5c2a29bf46cd["initializeShouldApplyLogbackSystemPropertiesToTheContext()"] 0011acb7_da2e_5b58_e839_5c2a29bf46cd -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 18011a4a_2929_8870_75cf_f1bc185ded94["correlationLoggingToFileWhenExpectCorrelationIdTrueAndMdcContent()"] 18011a4a_2929_8870_75cf_f1bc185ded94 -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 fe77cca5_9c87_54bd_e84d_f50be030689c["correlationLoggingToConsoleWhenExpectCorrelationIdTrueAndMdcContent()"] fe77cca5_9c87_54bd_e84d_f50be030689c -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 b1d4f9fa_4afc_cd78_3277_ec08b4a0cbab["correlationLoggingToConsoleWhenExpectCorrelationIdFalseAndMdcContent()"] b1d4f9fa_4afc_cd78_3277_ec08b4a0cbab -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 d1f93d15_219b_38f6_fa9e_45b04a94b707["correlationLoggingToConsoleWhenHasCorrelationPattern()"] d1f93d15_219b_38f6_fa9e_45b04a94b707 -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 85c67c6e_651f_cdd8_3756_9dd51a68cef9["correlationLoggingToConsoleWhenUsingXmlConfiguration()"] 85c67c6e_651f_cdd8_3756_9dd51a68cef9 -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 71e2b7ab_f161_b25d_c559_9ecfebc5dd09["correlationLoggingToFileWhenUsingFileConfiguration()"] 71e2b7ab_f161_b25d_c559_9ecfebc5dd09 -->|calls| cd4620eb_deae_3575_f645_e33d9aacf415 style cd4620eb_deae_3575_f645_e33d9aacf415 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/LoggerConfiguration.java lines 236–239
public static LevelConfiguration of(LogLevel logLevel) {
Assert.notNull(logLevel, "'logLevel' must not be null");
return new LevelConfiguration(logLevel.name(), logLevel);
}
Domain
Subdomains
Calls
- LevelConfiguration()
Called By
- LoggerConfiguration()
- applyingSystemPropertiesDoesNotCauseUnwantedStatusWarnings()
- correlationLoggingToConsoleWhenExpectCorrelationIdFalseAndMdcContent()
- correlationLoggingToConsoleWhenExpectCorrelationIdFalseAndMdcContent()
- correlationLoggingToConsoleWhenExpectCorrelationIdTrueAndMdcContent()
- correlationLoggingToConsoleWhenExpectCorrelationIdTrueAndMdcContent()
- correlationLoggingToConsoleWhenHasCorrelationPattern()
- correlationLoggingToConsoleWhenHasCorrelationPattern()
- correlationLoggingToConsoleWhenUsingXmlConfiguration()
- correlationLoggingToFileWhenExpectCorrelationIdTrueAndMdcContent()
- correlationLoggingToFileWhenExpectCorrelationIdTrueAndMdcContent()
- correlationLoggingToFileWhenUsingFileConfiguration()
- getLevelConfiguration()
- getSupportedLevels()
- getSupportedLevels()
- initializeShouldApplyLogbackSystemPropertiesToTheContext()
- shouldRespectFileThreshold()
Source
Frequently Asked Questions
What does of() do?
of() is a function in the spring-boot codebase.
What does of() call?
of() calls 1 function(s): LevelConfiguration.
What calls of()?
of() is called by 17 function(s): LoggerConfiguration, applyingSystemPropertiesDoesNotCauseUnwantedStatusWarnings, correlationLoggingToConsoleWhenExpectCorrelationIdFalseAndMdcContent, correlationLoggingToConsoleWhenExpectCorrelationIdFalseAndMdcContent, correlationLoggingToConsoleWhenExpectCorrelationIdTrueAndMdcContent, correlationLoggingToConsoleWhenExpectCorrelationIdTrueAndMdcContent, correlationLoggingToConsoleWhenHasCorrelationPattern, correlationLoggingToConsoleWhenHasCorrelationPattern, and 9 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free