addLogger() — spring-boot Function Reference
Architecture documentation for the addLogger() function in Log4J2LoggingSystem.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 07d7656c_8cf7_7f82_4d0a_d6a6e796c26b["addLogger()"] 2e6854cb_ef3b_e3f6_8135_9551ea39f5ef["setLogLevel()"] 2e6854cb_ef3b_e3f6_8135_9551ea39f5ef -->|calls| 07d7656c_8cf7_7f82_4d0a_d6a6e796c26b d8d0227d_4b1e_e35f_91b0_09efd8b6f15b["getAllLoggers()"] d8d0227d_4b1e_e35f_91b0_09efd8b6f15b -->|calls| 07d7656c_8cf7_7f82_4d0a_d6a6e796c26b 412405e1_afb7_ef0a_b22d_5edc2df0b828["getLoggerContext()"] 07d7656c_8cf7_7f82_4d0a_d6a6e796c26b -->|calls| 412405e1_afb7_ef0a_b22d_5edc2df0b828 10be91b2_7c57_2a9d_50e5_8bdd3c5dc960["getSubName()"] 07d7656c_8cf7_7f82_4d0a_d6a6e796c26b -->|calls| 10be91b2_7c57_2a9d_50e5_8bdd3c5dc960 style 07d7656c_8cf7_7f82_4d0a_d6a6e796c26b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystem.java lines 413–419
private void addLogger(Map<String, LoggerConfig> loggers, String name) {
Configuration configuration = getLoggerContext().getConfiguration();
while (name != null) {
loggers.computeIfAbsent(name, configuration::getLoggerConfig);
name = getSubName(name);
}
}
Domain
Subdomains
Calls
- getLoggerContext()
- getSubName()
Called By
Source
Frequently Asked Questions
What does addLogger() do?
addLogger() is a function in the spring-boot codebase.
What does addLogger() call?
addLogger() calls 2 function(s): getLoggerContext, getSubName.
What calls addLogger()?
addLogger() is called by 2 function(s): getAllLoggers, setLogLevel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free