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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryModifier and TypeMethodDescriptionReturn the name of environment variable that can be used to access this property.static LoggingSystemPropertyReturns 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_NAMELogging system property for the application name that should be logged.
- 
PIDLogging system property for the process ID.
- 
LOG_FILELogging system property for the log file.
- 
LOG_PATHLogging system property for the log path.
- 
CONSOLE_CHARSETLogging system property for the console log charset.
- 
FILE_CHARSETLogging system property for the file log charset.
- 
CONSOLE_THRESHOLDLogging system property for the console log.
- 
FILE_THRESHOLDLogging system property for the file log.
- 
EXCEPTION_CONVERSION_WORDLogging system property for the exception conversion word.
- 
CONSOLE_PATTERNLogging system property for the console log pattern.
- 
FILE_PATTERNLogging system property for the file log pattern.
- 
LEVEL_PATTERNLogging system property for the log level pattern.
- 
DATEFORMAT_PATTERNLogging system property for the date-format pattern.
- 
CORRELATION_PATTERNLogging system property for the correlation pattern.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getEnvironmentVariableNameReturn the name of environment variable that can be used to access this property.- Returns:
- the environment variable name
 
 
-