Home / Function/ getAllLoggers() — spring-boot Function Reference

getAllLoggers() — spring-boot Function Reference

Architecture documentation for the getAllLoggers() function in Log4J2LoggingSystem.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 3 called by 2

Entity Profile

Dependency Diagram

graph TD
  d8d0227d_4b1e_e35f_91b0_09efd8b6f15b["getAllLoggers()"]
  d550d4cf_eb41_f3ce_1214_c6ac3ad8550a["getLoggerConfigurations()"]
  d550d4cf_eb41_f3ce_1214_c6ac3ad8550a -->|calls| d8d0227d_4b1e_e35f_91b0_09efd8b6f15b
  fb23121a_77fd_71e7_b0aa_60a119cb606b["getLoggerConfiguration()"]
  fb23121a_77fd_71e7_b0aa_60a119cb606b -->|calls| d8d0227d_4b1e_e35f_91b0_09efd8b6f15b
  412405e1_afb7_ef0a_b22d_5edc2df0b828["getLoggerContext()"]
  d8d0227d_4b1e_e35f_91b0_09efd8b6f15b -->|calls| 412405e1_afb7_ef0a_b22d_5edc2df0b828
  07d7656c_8cf7_7f82_4d0a_d6a6e796c26b["addLogger()"]
  d8d0227d_4b1e_e35f_91b0_09efd8b6f15b -->|calls| 07d7656c_8cf7_7f82_4d0a_d6a6e796c26b
  5442b6c9_c948_65c9_3b32_df1993add6a2["getName()"]
  d8d0227d_4b1e_e35f_91b0_09efd8b6f15b -->|calls| 5442b6c9_c948_65c9_3b32_df1993add6a2
  style d8d0227d_4b1e_e35f_91b0_09efd8b6f15b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystem.java lines 404–411

	private Map<String, LoggerConfig> getAllLoggers() {
		Map<String, LoggerConfig> loggers = new LinkedHashMap<>();
		for (Logger logger : getLoggerContext().getLoggers()) {
			addLogger(loggers, logger.getName());
		}
		getLoggerContext().getConfiguration().getLoggers().keySet().forEach((name) -> addLogger(loggers, name));
		return loggers;
	}

Domain

Subdomains

Frequently Asked Questions

What does getAllLoggers() do?
getAllLoggers() is a function in the spring-boot codebase.
What does getAllLoggers() call?
getAllLoggers() calls 3 function(s): addLogger, getLoggerContext, getName.
What calls getAllLoggers()?
getAllLoggers() is called by 2 function(s): getLoggerConfiguration, getLoggerConfigurations.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free