getLoggerConfiguration() — spring-boot Function Reference
Architecture documentation for the getLoggerConfiguration() function in Log4J2LoggingSystemTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 9519ed59_465e_41a6_0d10_16e0e71a34a1["getLoggerConfiguration()"] d4dd22e2_4f31_6578_bc9a_47fb8f6045a2["getLoggerConfigurationWhenHasCustomLevel()"] d4dd22e2_4f31_6578_bc9a_47fb8f6045a2 -->|calls| 9519ed59_465e_41a6_0d10_16e0e71a34a1 bda72245_3647_6d70_aed0_947d5713e8c1["getLoggerConfigurationShouldReturnLoggerWithNullConfiguredLevel()"] bda72245_3647_6d70_aed0_947d5713e8c1 -->|calls| 9519ed59_465e_41a6_0d10_16e0e71a34a1 be8d5242_11f3_a361_a2a8_556edd49ff95["getLoggerConfigurationForNonExistentLoggerShouldReturnNull()"] be8d5242_11f3_a361_a2a8_556edd49ff95 -->|calls| 9519ed59_465e_41a6_0d10_16e0e71a34a1 5a5dfd34_f679_ecfa_3104_c7ea09f4a76a["getLoggerConfigurationWithResetLevelReturnsNull()"] 5a5dfd34_f679_ecfa_3104_c7ea09f4a76a -->|calls| 9519ed59_465e_41a6_0d10_16e0e71a34a1 7b88629f_84c6_8670_788f_0e60e3188263["getLoggerConfigurationWithResetLevelWhenAlreadyConfiguredReturnsParentConfiguredLevel()"] 7b88629f_84c6_8670_788f_0e60e3188263 -->|calls| 9519ed59_465e_41a6_0d10_16e0e71a34a1 bffa5cc2_2336_d219_9e81_a81a831f09b1["initialize()"] 9519ed59_465e_41a6_0d10_16e0e71a34a1 -->|calls| bffa5cc2_2336_d219_9e81_a81a831f09b1 e19376dd_50cc_d749_9a96_43dc4f39358a["LoggerConfiguration()"] 9519ed59_465e_41a6_0d10_16e0e71a34a1 -->|calls| e19376dd_50cc_d749_9a96_43dc4f39358a ccf5ea2f_9cb1_829b_800e_81d9751aa854["getLoggerConfiguration()"] 9519ed59_465e_41a6_0d10_16e0e71a34a1 -->|calls| ccf5ea2f_9cb1_829b_800e_81d9751aa854 501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"] 9519ed59_465e_41a6_0d10_16e0e71a34a1 -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264 121b7287_c247_a3cc_c719_79c9c639fbd5["setLogLevel()"] 9519ed59_465e_41a6_0d10_16e0e71a34a1 -->|calls| 121b7287_c247_a3cc_c719_79c9c639fbd5 5442b6c9_c948_65c9_3b32_df1993add6a2["getName()"] 9519ed59_465e_41a6_0d10_16e0e71a34a1 -->|calls| 5442b6c9_c948_65c9_3b32_df1993add6a2 style 9519ed59_465e_41a6_0d10_16e0e71a34a1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystemTests.java lines 251–259
@Test
void getLoggerConfiguration() {
this.loggingSystem.beforeInitialize();
this.loggingSystem.initialize(this.initializationContext, null, null);
this.loggingSystem.setLogLevel(getClass().getName(), LogLevel.DEBUG);
LoggerConfiguration configuration = this.loggingSystem.getLoggerConfiguration(getClass().getName());
assertThat(configuration)
.isEqualTo(new LoggerConfiguration(getClass().getName(), LogLevel.DEBUG, LogLevel.DEBUG));
}
Domain
Subdomains
Calls
Called By
- getLoggerConfigurationForNonExistentLoggerShouldReturnNull()
- getLoggerConfigurationShouldReturnLoggerWithNullConfiguredLevel()
- getLoggerConfigurationWhenHasCustomLevel()
- getLoggerConfigurationWithResetLevelReturnsNull()
- getLoggerConfigurationWithResetLevelWhenAlreadyConfiguredReturnsParentConfiguredLevel()
Source
Frequently Asked Questions
What does getLoggerConfiguration() do?
getLoggerConfiguration() is a function in the spring-boot codebase.
What does getLoggerConfiguration() call?
getLoggerConfiguration() calls 6 function(s): LoggerConfiguration, beforeInitialize, getLoggerConfiguration, getName, initialize, setLogLevel.
What calls getLoggerConfiguration()?
getLoggerConfiguration() is called by 5 function(s): getLoggerConfigurationForNonExistentLoggerShouldReturnNull, getLoggerConfigurationShouldReturnLoggerWithNullConfiguredLevel, getLoggerConfigurationWhenHasCustomLevel, getLoggerConfigurationWithResetLevelReturnsNull, getLoggerConfigurationWithResetLevelWhenAlreadyConfiguredReturnsParentConfiguredLevel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free