枚举类 LoggingSystemProperty
- 所有已实现的接口:
Serializable
,Comparable<LoggingSystemProperty>
,Constable
Logging system properties that can later be used by log configuration files.
- 从以下版本开始:
- 3.2.0
- 作者:
- Phillip Webb
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量枚举常量说明Logging system property for the application group that should be logged.Logging system property for the application name that should be logged.Logging system property for the console log charset.Logging system property for the console log pattern.Logging system property for the console structured logging format.Logging system property for the console log.Logging system property for the correlation pattern.Logging system property for the date-format pattern.Logging system property for the exception conversion word.Logging system property for the file log charset.Logging system property for the file log pattern.Logging system property for the file structured logging format.Logging system property for the file log.Logging system property for the log level pattern.Logging system property for the log file.Logging system property for the log path.Logging system property for the process ID. -
方法概要
修饰符和类型方法说明Return the application property name that can be used to set this property.Return the name of environment variable that can be used to access this property.static LoggingSystemProperty
返回带有指定名称的该类的枚举常量。static LoggingSystemProperty[]
values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
-
枚举常量详细资料
-
APPLICATION_NAME
Logging system property for the application name that should be logged. -
APPLICATION_GROUP
Logging system property for the application group that should be logged.- 从以下版本开始:
- 3.4.0
-
PID
Logging system property for the process ID. -
LOG_FILE
Logging system property for the log file. -
LOG_PATH
Logging system property for the log path. -
CONSOLE_CHARSET
Logging system property for the console log charset. -
FILE_CHARSET
Logging system property for the file log charset. -
CONSOLE_THRESHOLD
Logging system property for the console log. -
FILE_THRESHOLD
Logging system property for the file log. -
EXCEPTION_CONVERSION_WORD
Logging system property for the exception conversion word. -
CONSOLE_PATTERN
Logging system property for the console log pattern. -
FILE_PATTERN
Logging system property for the file log pattern. -
CONSOLE_STRUCTURED_FORMAT
Logging system property for the console structured logging format.- 从以下版本开始:
- 3.4.0
-
FILE_STRUCTURED_FORMAT
Logging system property for the file structured logging format.- 从以下版本开始:
- 3.4.0
-
LEVEL_PATTERN
Logging system property for the log level pattern. -
DATEFORMAT_PATTERN
Logging system property for the date-format pattern. -
CORRELATION_PATTERN
Logging system property for the correlation pattern.
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- 如果该枚举类没有带有指定名称的常量NullPointerException
- 如果参数为空值
-
getEnvironmentVariableName
Return the name of environment variable that can be used to access this property.- 返回:
- the environment variable name
-
getApplicationPropertyName
Return the application property name that can be used to set this property.- 返回:
- the application property name
- 从以下版本开始:
- 3.4.0
-