Package org.springframework.boot.logging
Enum Class LoggingSystemProperty
- All Implemented Interfaces:
Serializable
,Comparable<LoggingSystemProperty>
,Constable
Logging system properties that can later be used by log configuration files.
- Since:
- 3.2.0
- Author:
- Phillip Webb
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLogging 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 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 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. -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of environment variable that can be used to access this property.static LoggingSystemProperty
Returns the enum constant of this class with the specified name.static LoggingSystemProperty[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLICATION_NAME
Logging system property for the application name that should be logged. -
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. -
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getEnvironmentVariableName
Return the name of environment variable that can be used to access this property.- Returns:
- the environment variable name
-