类 LoggerConfiguration
- java.lang.Object
- org.springframework.boot.logging.LoggerConfiguration
public final class LoggerConfiguration extends Object
Immutable class that represents the configuration of aLoggingSystem
's logger.- 从以下版本开始:
- 1.5.0
构造器概要
构造器 构造器 说明 LoggerConfiguration(String name, LogLevel configuredLevel, LogLevel effectiveLevel)
Create a newinstance
.
构造器详细资料
LoggerConfiguration
public LoggerConfiguration(String name, LogLevel configuredLevel, LogLevel effectiveLevel)
Create a newinstance
.- 参数:
name
- the name of the loggerconfiguredLevel
- the configured level of the loggereffectiveLevel
- the effective level of the logger
方法详细资料
getConfiguredLevel
public LogLevel getConfiguredLevel()
Returns the configured level of the logger.- 返回:
- the configured level of the logger
getEffectiveLevel
public LogLevel getEffectiveLevel()
Returns the effective level of the logger.- 返回:
- the effective level of the logger