consolePattern() — spring-boot Function Reference
Architecture documentation for the consolePattern() function in Log4j2XmlTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 55424668_f045_0938_16e2_fe95dfa9ab57["consolePattern()"] 0d2e1dab_c180_e8c8_a7d5_27d442978be9["whenLogExceptionConversionWordIsNotConfiguredThenConsoleUsesDefault()"] 0d2e1dab_c180_e8c8_a7d5_27d442978be9 -->|calls| 55424668_f045_0938_16e2_fe95dfa9ab57 3948cea9_5788_7eac_5cb5_66c98a7f0217["whenLogExceptionConversionWordIsSetThenConsoleUsesIt()"] 3948cea9_5788_7eac_5cb5_66c98a7f0217 -->|calls| 55424668_f045_0938_16e2_fe95dfa9ab57 143a8d27_b7ee_8529_64a7_0d3e1d98b401["whenLogLevelPatternIsNotConfiguredThenConsoleUsesDefault()"] 143a8d27_b7ee_8529_64a7_0d3e1d98b401 -->|calls| 55424668_f045_0938_16e2_fe95dfa9ab57 eb0a776c_8f37_7251_4ed0_eb045773be49["whenLogLevelPatternIsSetThenConsoleUsesIt()"] eb0a776c_8f37_7251_4ed0_eb045773be49 -->|calls| 55424668_f045_0938_16e2_fe95dfa9ab57 669eb779_b14a_1895_b841_14eb42b2cdb3["whenLogLDateformatPatternIsNotConfiguredThenConsoleUsesDefault()"] 669eb779_b14a_1895_b841_14eb42b2cdb3 -->|calls| 55424668_f045_0938_16e2_fe95dfa9ab57 fe755810_4552_1097_22a2_28eed08c98ff["whenLogDateformatPatternIsSetThenConsoleUsesIt()"] fe755810_4552_1097_22a2_28eed08c98ff -->|calls| 55424668_f045_0938_16e2_fe95dfa9ab57 89b70dc5_6948_6a68_0601_1563ddd33d30["prepareConfiguration()"] 55424668_f045_0938_16e2_fe95dfa9ab57 -->|calls| 89b70dc5_6948_6a68_0601_1563ddd33d30 style 55424668_f045_0938_16e2_fe95dfa9ab57 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/Log4j2XmlTests.java lines 96–100
private String consolePattern() {
prepareConfiguration();
assertThat(this.configuration).isNotNull();
return ((PatternLayout) this.configuration.getAppender("Console").getLayout()).getConversionPattern();
}
Domain
Subdomains
Calls
- prepareConfiguration()
Called By
- whenLogDateformatPatternIsSetThenConsoleUsesIt()
- whenLogExceptionConversionWordIsNotConfiguredThenConsoleUsesDefault()
- whenLogExceptionConversionWordIsSetThenConsoleUsesIt()
- whenLogLDateformatPatternIsNotConfiguredThenConsoleUsesDefault()
- whenLogLevelPatternIsNotConfiguredThenConsoleUsesDefault()
- whenLogLevelPatternIsSetThenConsoleUsesIt()
Source
Frequently Asked Questions
What does consolePattern() do?
consolePattern() is a function in the spring-boot codebase.
What does consolePattern() call?
consolePattern() calls 1 function(s): prepareConfiguration.
What calls consolePattern()?
consolePattern() is called by 6 function(s): whenLogDateformatPatternIsSetThenConsoleUsesIt, whenLogExceptionConversionWordIsNotConfiguredThenConsoleUsesDefault, whenLogExceptionConversionWordIsSetThenConsoleUsesIt, whenLogLDateformatPatternIsNotConfiguredThenConsoleUsesDefault, whenLogLevelPatternIsNotConfiguredThenConsoleUsesDefault, whenLogLevelPatternIsSetThenConsoleUsesIt.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free