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

withLoggingSuppressed() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 1 called by 4

Entity Profile

Dependency Diagram

graph TD
  05d574bb_2449_135b_2a57_ca01664538a0["withLoggingSuppressed()"]
  7d5d754c_bca4_3cde_00f3_cbf533d9a055["initializeFromAotGeneratedArtifactsIfPossible()"]
  7d5d754c_bca4_3cde_00f3_cbf533d9a055 -->|calls| 05d574bb_2449_135b_2a57_ca01664538a0
  647ef14c_5da4_24a4_ddac_0beb0e1b96f5["loadDefaults()"]
  647ef14c_5da4_24a4_ddac_0beb0e1b96f5 -->|calls| 05d574bb_2449_135b_2a57_ca01664538a0
  cafc9a8c_e23a_b8c4_5c44_2f02f0d89617["loadConfiguration()"]
  cafc9a8c_e23a_b8c4_5c44_2f02f0d89617 -->|calls| 05d574bb_2449_135b_2a57_ca01664538a0
  aa249080_5507_10e2_df79_a6fbb70d13c8["putInitializationContextObjects()"]
  aa249080_5507_10e2_df79_a6fbb70d13c8 -->|calls| 05d574bb_2449_135b_2a57_ca01664538a0
  38e995b4_1ef1_6922_5bd2_636797effcbc["getLoggerContext()"]
  05d574bb_2449_135b_2a57_ca01664538a0 -->|calls| 38e995b4_1ef1_6922_5bd2_636797effcbc
  style 05d574bb_2449_135b_2a57_ca01664538a0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	private void withLoggingSuppressed(Runnable action) {
		TurboFilterList turboFilters = getLoggerContext().getTurboFilterList();
		turboFilters.add(SUPPRESS_ALL_FILTER);
		try {
			action.run();
		}
		finally {
			turboFilters.remove(SUPPRESS_ALL_FILTER);
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does withLoggingSuppressed() do?
withLoggingSuppressed() is a function in the spring-boot codebase.
What does withLoggingSuppressed() call?
withLoggingSuppressed() calls 1 function(s): getLoggerContext.
What calls withLoggingSuppressed()?
withLoggingSuppressed() is called by 4 function(s): initializeFromAotGeneratedArtifactsIfPossible, loadConfiguration, loadDefaults, putInitializationContextObjects.

Analyze Your Own Codebase

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

Try Supermodel Free