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

isBridgeHandlerInstalled() — spring-boot Function Reference

Architecture documentation for the isBridgeHandlerInstalled() function in LogbackLoggingSystem.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  579eadca_72e8_183d_6836_20d192ffb6a9["isBridgeHandlerInstalled()"]
  92be7141_fcb5_fc46_efa1_0ecddfb50dbd["stopAndReset()"]
  92be7141_fcb5_fc46_efa1_0ecddfb50dbd -->|calls| 579eadca_72e8_183d_6836_20d192ffb6a9
  8d3c5e7d_11b0_e93a_3be0_1012b59b4c4d["isBridgeHandlerAvailable()"]
  579eadca_72e8_183d_6836_20d192ffb6a9 -->|calls| 8d3c5e7d_11b0_e93a_3be0_1012b59b4c4d
  2babc4f7_d634_4f0b_aef1_7095b8a47c5f["getLogger()"]
  579eadca_72e8_183d_6836_20d192ffb6a9 -->|calls| 2babc4f7_d634_4f0b_aef1_7095b8a47c5f
  style 579eadca_72e8_183d_6836_20d192ffb6a9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackLoggingSystem.java lines 316–323

	private boolean isBridgeHandlerInstalled() {
		if (!isBridgeHandlerAvailable()) {
			return false;
		}
		java.util.logging.Logger rootLogger = LogManager.getLogManager().getLogger("");
		Handler[] handlers = rootLogger.getHandlers();
		return handlers.length == 1 && handlers[0] instanceof SLF4JBridgeHandler;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does isBridgeHandlerInstalled() do?
isBridgeHandlerInstalled() is a function in the spring-boot codebase.
What does isBridgeHandlerInstalled() call?
isBridgeHandlerInstalled() calls 2 function(s): getLogger, isBridgeHandlerAvailable.
What calls isBridgeHandlerInstalled()?
isBridgeHandlerInstalled() is called by 1 function(s): stopAndReset.

Analyze Your Own Codebase

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

Try Supermodel Free