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

getLogLevelConfigurer() — spring-boot Function Reference

Architecture documentation for the getLogLevelConfigurer() function in LoggingApplicationListener.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  3840252c_f845_8a5b_c1ca_33a87893d88c["getLogLevelConfigurer()"]
  dacf1b60_9e14_9830_cc38_d3a0af142cdb["initializeSpringBootLogging()"]
  dacf1b60_9e14_9830_cc38_d3a0af142cdb -->|calls| 3840252c_f845_8a5b_c1ca_33a87893d88c
  478546f3_4485_d0db_1e4f_dca03580c35a["setLogLevels()"]
  478546f3_4485_d0db_1e4f_dca03580c35a -->|calls| 3840252c_f845_8a5b_c1ca_33a87893d88c
  121b7287_c247_a3cc_c719_79c9c639fbd5["setLogLevel()"]
  3840252c_f845_8a5b_c1ca_33a87893d88c -->|calls| 121b7287_c247_a3cc_c719_79c9c639fbd5
  style 3840252c_f845_8a5b_c1ca_33a87893d88c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/logging/LoggingApplicationListener.java lines 413–423

	private BiConsumer<String, @Nullable LogLevel> getLogLevelConfigurer(LoggingSystem system) {
		return (name, level) -> {
			try {
				name = name.equalsIgnoreCase(LoggingSystem.ROOT_LOGGER_NAME) ? null : name;
				system.setLogLevel(name, level);
			}
			catch (RuntimeException ex) {
				this.logger.error(LogMessage.format("Cannot set level '%s' for '%s'", level, name));
			}
		};
	}

Domain

Subdomains

Frequently Asked Questions

What does getLogLevelConfigurer() do?
getLogLevelConfigurer() is a function in the spring-boot codebase.
What does getLogLevelConfigurer() call?
getLogLevelConfigurer() calls 1 function(s): setLogLevel.
What calls getLogLevelConfigurer()?
getLogLevelConfigurer() is called by 2 function(s): initializeSpringBootLogging, setLogLevels.

Analyze Your Own Codebase

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

Try Supermodel Free