testConsolePatternProperty() — spring-boot Function Reference
Architecture documentation for the testConsolePatternProperty() function in LogbackLoggingSystemTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD d8a16f73_7d22_20cb_5646_825fbd554a0c["testConsolePatternProperty()"] 1c70a669_b986_1d08_11e5_0f5b58ad7e27["LoggingInitializationContext()"] d8a16f73_7d22_20cb_5646_825fbd554a0c -->|calls| 1c70a669_b986_1d08_11e5_0f5b58ad7e27 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38["initialize()"] d8a16f73_7d22_20cb_5646_825fbd554a0c -->|calls| 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38 599de821_15df_43cf_ef7e_1637f660f37b["getLineWithText()"] d8a16f73_7d22_20cb_5646_825fbd554a0c -->|calls| 599de821_15df_43cf_ef7e_1637f660f37b style d8a16f73_7d22_20cb_5646_825fbd554a0c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemTests.java lines 368–375
@Test
void testConsolePatternProperty(CapturedOutput output) {
this.environment.setProperty("logging.pattern.console", "%logger %msg");
LoggingInitializationContext loggingInitializationContext = new LoggingInitializationContext(this.environment);
initialize(loggingInitializationContext, null, null);
this.logger.info("Hello world");
assertThat(getLineWithText(output, "Hello world")).doesNotContain("INFO");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testConsolePatternProperty() do?
testConsolePatternProperty() is a function in the spring-boot codebase.
What does testConsolePatternProperty() call?
testConsolePatternProperty() calls 3 function(s): LoggingInitializationContext, getLineWithText, initialize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free