Uses of Enum Class
org.springframework.boot.logging.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
Modifier and TypeMethodDescriptionvoid
LoggersEndpoint.configureLogLevel
(String name, LogLevel configuredLevel) protected final String
ModifierConstructorDescriptionGroupLoggerLevelsDescriptor
(LogLevel configuredLevel, List<String> members) LoggerLevelsDescriptor
(LogLevel configuredLevel) ModifierConstructorDescriptionLoggersDescriptor
(NavigableSet<LogLevel> levels, Map<String, LoggersEndpoint.LoggerLevelsDescriptor> loggers, Map<String, LoggersEndpoint.GroupLoggerLevelsDescriptor> groups) -
Uses of LogLevel in org.springframework.boot.autoconfigure.logging
Modifier 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
Modifier 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
Modifier 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.LoggerConfiguration.LevelConfiguration.getLevel()
Return the actual level value if possible.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.Modifier and TypeMethodDescriptionAbstractLoggingSystem.LogLevels.getSupported()
LoggingSystem.getSupportedLogLevels()
Returns a set of theLogLevels
that are actually supported by the logging system.Modifier and TypeMethodDescriptionvoid
LoggerGroup.configureLogLevel
(LogLevel level, BiConsumer<String, LogLevel> configurer) AbstractLoggingSystem.LogLevels.convertSystemToNative
(LogLevel level) void
Create a newLoggerConfiguration.LevelConfiguration
instance of the givenLogLevel
.void
LoggingSystem.setLogLevel
(String loggerName, LogLevel level) Sets the logging level for a given logger.Modifier and TypeMethodDescriptionvoid
LoggerGroup.configureLogLevel
(LogLevel level, BiConsumer<String, LogLevel> configurer) ModifierConstructorDescriptionLoggerConfiguration
(String name, LogLevel configuredLevel, LogLevel effectiveLevel) Create a newinstance
. -
Uses of LogLevel in org.springframework.boot.logging.java
Modifier and TypeMethodDescriptionvoid
JavaLoggingSystem.setLogLevel
(String loggerName, LogLevel level) -
Uses of LogLevel in org.springframework.boot.logging.log4j2
Modifier and TypeMethodDescriptionvoid
Log4J2LoggingSystem.setLogLevel
(String loggerName, LogLevel logLevel) -
Uses of LogLevel in org.springframework.boot.logging.logback
Modifier and TypeMethodDescriptionvoid
LogbackLoggingSystem.setLogLevel
(String loggerName, LogLevel level)