Uses of Enum Class
org.springframework.boot.logging.LogLevel
Packages that use LogLevel
Package
Description
Actuator support for logging.
Auto-configuration for logging.
Logging integration with Spring's Application Context.
Support and abstractions across several logging libraries.
Support for 'Java Util Logging'.
Support for the Log4j 2 logging library.
Support for the Logback logging library.
-
Uses of LogLevel in org.springframework.boot.actuate.logging
Methods in org.springframework.boot.actuate.logging that return types with arguments of type LogLevelMethods in org.springframework.boot.actuate.logging with parameters of type LogLevelModifier and TypeMethodDescriptionvoid
LoggersEndpoint.configureLogLevel
(String name, LogLevel configuredLevel) protected final String
Constructors in org.springframework.boot.actuate.logging with parameters of type LogLevelModifierConstructorDescriptionGroupLoggerLevelsDescriptor
(LogLevel configuredLevel, List<String> members) LoggerLevelsDescriptor
(LogLevel configuredLevel) Constructor parameters in org.springframework.boot.actuate.logging with type arguments of type LogLevelModifierConstructorDescriptionLoggersDescriptor
(NavigableSet<LogLevel> levels, Map<String, LoggersEndpoint.LoggerLevelsDescriptor> loggers, Map<String, LoggersEndpoint.GroupLoggerLevelsDescriptor> groups) -
Uses of LogLevel in org.springframework.boot.autoconfigure.logging
Methods in org.springframework.boot.autoconfigure.logging with parameters of type LogLevelModifier and TypeMethodDescriptionConditionEvaluationReportLoggingListener.forLogLevel
(LogLevel logLevelForReport) Static factory method that creates aConditionEvaluationReportLoggingListener
which logs the report at the specified log level. -
Uses of LogLevel in org.springframework.boot.context.logging
Methods in org.springframework.boot.context.logging with parameters of type LogLevelModifier and TypeMethodDescriptionprotected void
LoggingApplicationListener.initializeSpringBootLogging
(LoggingSystem system, LogLevel springBootLogging) Initialize loggers based on thespringBootLogging
setting.void
LoggingApplicationListener.setSpringBootLogging
(LogLevel springBootLogging) Sets a custom logging level to be used for Spring Boot and related libraries. -
Uses of LogLevel in org.springframework.boot.logging
Methods in org.springframework.boot.logging that return LogLevelModifier and TypeMethodDescriptionAbstractLoggingSystem.LogLevels.convertNativeToSystem
(T level) LoggerConfiguration.getConfiguredLevel()
Returns the configured level of the logger.LoggerGroup.getConfiguredLevel()
LoggerConfiguration.getEffectiveLevel()
Returns the effective level of the logger.static LogLevel
Returns the enum constant of this class with the specified name.static LogLevel[]
LogLevel.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.boot.logging that return types with arguments of type LogLevelModifier and TypeMethodDescriptionAbstractLoggingSystem.LogLevels.getSupported()
LoggingSystem.getSupportedLogLevels()
Returns a set of theLogLevels
that are actually supported by the logging system.Methods in org.springframework.boot.logging with parameters of type LogLevelModifier and TypeMethodDescriptionvoid
LoggerGroup.configureLogLevel
(LogLevel level, BiConsumer<String, LogLevel> configurer) AbstractLoggingSystem.LogLevels.convertSystemToNative
(LogLevel level) void
void
LoggingSystem.setLogLevel
(String loggerName, LogLevel level) Sets the logging level for a given logger.Method parameters in org.springframework.boot.logging with type arguments of type LogLevelModifier and TypeMethodDescriptionvoid
LoggerGroup.configureLogLevel
(LogLevel level, BiConsumer<String, LogLevel> configurer) Constructors in org.springframework.boot.logging with parameters of type LogLevelModifierConstructorDescriptionLoggerConfiguration
(String name, LogLevel configuredLevel, LogLevel effectiveLevel) Create a newinstance
. -
Uses of LogLevel in org.springframework.boot.logging.java
Methods in org.springframework.boot.logging.java that return types with arguments of type LogLevelMethods in org.springframework.boot.logging.java with parameters of type LogLevelModifier and TypeMethodDescriptionvoid
JavaLoggingSystem.setLogLevel
(String loggerName, LogLevel level) -
Uses of LogLevel in org.springframework.boot.logging.log4j2
Methods in org.springframework.boot.logging.log4j2 that return types with arguments of type LogLevelMethods in org.springframework.boot.logging.log4j2 with parameters of type LogLevelModifier and TypeMethodDescriptionvoid
Log4J2LoggingSystem.setLogLevel
(String loggerName, LogLevel logLevel) -
Uses of LogLevel in org.springframework.boot.logging.logback
Methods in org.springframework.boot.logging.logback that return types with arguments of type LogLevelMethods in org.springframework.boot.logging.logback with parameters of type LogLevelModifier and TypeMethodDescriptionvoid
LogbackLoggingSystem.setLogLevel
(String loggerName, LogLevel level)