- All Implemented Interfaces:
Serializable,Comparable<FormatStep.ItemType>,Constable
- Enclosing interface:
FormatStep
An enumeration of the types of items that can be rendered. Note that this enumeration may be expanded
in the future, so unknown values should be handled gracefully as if
GENERIC were used.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA compound step.An item of unknown kind.A log level.The log message without the exception trace. -
Method Summary
Modifier and TypeMethodDescriptionstatic FormatStep.ItemTypeReturns the enum constant of this class with the specified name.static FormatStep.ItemType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERIC
An item of unknown kind. -
COMPOUND
A compound step. -
LEVEL
A log level. -
SOURCE_CLASS_NAME
-
DATE
-
SOURCE_FILE_NAME
-
HOST_NAME
-
SOURCE_LINE_NUMBER
-
LINE_SEPARATOR
-
CATEGORY
-
MDC
-
MESSAGE
The log message without the exception trace. -
EXCEPTION_TRACE
-
SOURCE_METHOD_NAME
-
SOURCE_MODULE_NAME
-
SOURCE_MODULE_VERSION
-
NDC
-
PROCESS_ID
-
PROCESS_NAME
-
RELATIVE_TIME
-
RESOURCE_KEY
-
SYSTEM_PROPERTY
-
TEXT
-
THREAD_ID
-
THREAD_NAME
-
-
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
-