枚举类的使用
org.springframework.boot.logging.LogLevel
使用LogLevel的程序包
程序包
说明
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.
-
org.springframework.boot.actuate.logging中LogLevel的使用
返回变量类型为LogLevel的类型的org.springframework.boot.actuate.logging中的方法修饰符和类型方法说明void
LoggersEndpoint.configureLogLevel
(String name, LogLevel configuredLevel) protected final String
限定符构造器说明GroupLoggerLevelsDescriptor
(LogLevel configuredLevel, List<String> members) LoggerLevelsDescriptor
(LogLevel configuredLevel) 类型变量类型为LogLevel的org.springframework.boot.actuate.logging中的构造器参数限定符构造器说明LoggersDescriptor
(NavigableSet<LogLevel> levels, Map<String, LoggersEndpoint.LoggerLevelsDescriptor> loggers, Map<String, LoggersEndpoint.GroupLoggerLevelsDescriptor> groups) -
org.springframework.boot.autoconfigure.logging中LogLevel的使用
修饰符和类型方法说明ConditionEvaluationReportLoggingListener.forLogLevel
(LogLevel logLevelForReport) Static factory method that creates aConditionEvaluationReportLoggingListener
which logs the report at the specified log level. -
org.springframework.boot.context.logging中LogLevel的使用
修饰符和类型方法说明protected 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. -
org.springframework.boot.docker.compose.core中LogLevel的使用
修饰符和类型方法说明void
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. -
org.springframework.boot.docker.compose.lifecycle中LogLevel的使用
-
org.springframework.boot.logging中LogLevel的使用
修饰符和类型方法说明AbstractLoggingSystem.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
返回带有指定名称的该类的枚举常量。static LogLevel[]
LogLevel.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同返回变量类型为LogLevel的类型的org.springframework.boot.logging中的方法修饰符和类型方法说明AbstractLoggingSystem.LogLevels.getSupported()
LoggingSystem.getSupportedLogLevels()
Returns a set of theLogLevels
that are actually supported by the logging system.参数类型为LogLevel的org.springframework.boot.logging中的方法修饰符和类型方法说明void
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.类型变量类型为LogLevel的org.springframework.boot.logging中的方法参数修饰符和类型方法说明void
LoggerGroup.configureLogLevel
(LogLevel level, BiConsumer<String, LogLevel> configurer) 参数类型为LogLevel的org.springframework.boot.logging中的构造器限定符构造器说明LoggerConfiguration
(String name, LogLevel configuredLevel, LogLevel effectiveLevel) Create a newinstance
. -
org.springframework.boot.logging.java中LogLevel的使用
返回变量类型为LogLevel的类型的org.springframework.boot.logging.java中的方法 -
org.springframework.boot.logging.log4j2中LogLevel的使用
返回变量类型为LogLevel的类型的org.springframework.boot.logging.log4j2中的方法 -
org.springframework.boot.logging.logback中LogLevel的使用
返回变量类型为LogLevel的类型的org.springframework.boot.logging.logback中的方法