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.
Core interfaces and classes for working with Docker Compose.
Lifecycle management for Docker Compose with the context of a Spring application.
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 LogLevelModifier and TypeMethodDescription@Nullable NavigableSet
<LogLevel> LoggersEndpoint.LoggersDescriptor.getLevels()
Methods in org.springframework.boot.actuate.logging with parameters of type LogLevelModifier and TypeMethodDescriptionvoid
LoggersEndpoint.configureLogLevel
(String name, @Nullable LogLevel configuredLevel) protected final @Nullable String
Constructors in org.springframework.boot.actuate.logging with parameters of type LogLevelModifierConstructorDescriptionGroupLoggerLevelsDescriptor
(@Nullable LogLevel configuredLevel, List<String> members) LoggerLevelsDescriptor
(@Nullable LogLevel configuredLevel) Constructor parameters in org.springframework.boot.actuate.logging with type arguments of type LogLevelModifierConstructorDescriptionLoggersDescriptor
(@Nullable NavigableSet<LogLevel> levels, @Nullable Map<String, LoggersEndpoint.LoggerLevelsDescriptor> loggers, @Nullable 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.docker.compose.core
Methods in org.springframework.boot.docker.compose.core with parameters of type LogLevelModifier and TypeMethodDescriptionvoid
Rundocker compose start
to start services.void
Rundocker compose start
to start services.void
Rundocker compose up
to create and start services.void
Rundocker compose up
to create and start services. -
Uses of LogLevel in org.springframework.boot.docker.compose.lifecycle
Methods in org.springframework.boot.docker.compose.lifecycle that return LogLevelMethods in org.springframework.boot.docker.compose.lifecycle with parameters of type LogLevelModifier and TypeMethodDescriptionvoid
DockerComposeProperties.Start.setLogLevel
(LogLevel logLevel) -
Uses of LogLevel in org.springframework.boot.logging
Subclasses with type arguments of type LogLevel in org.springframework.boot.loggingMethods in org.springframework.boot.logging that return LogLevelModifier and TypeMethodDescription@Nullable LogLevel
AbstractLoggingSystem.LogLevels.convertNativeToSystem
(T level) @Nullable LogLevel
LoggerConfiguration.getConfiguredLevel()
Returns the configured level of the logger.@Nullable LogLevel
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.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
(@Nullable LogLevel level, BiConsumer<String, @Nullable LogLevel> configurer) @Nullable T
AbstractLoggingSystem.LogLevels.convertSystemToNative
(@Nullable LogLevel level) void
Create a newLoggerConfiguration.LevelConfiguration
instance of the givenLogLevel
.void
LoggingSystem.setLogLevel
(@Nullable String loggerName, @Nullable 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
(@Nullable LogLevel level, BiConsumer<String, @Nullable LogLevel> configurer) Constructors in org.springframework.boot.logging with parameters of type LogLevelModifierConstructorDescriptionLoggerConfiguration
(String name, @Nullable 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
(@Nullable String loggerName, @Nullable 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
(@Nullable String loggerName, @Nullable 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
(@Nullable String loggerName, @Nullable LogLevel level)