public enum EventAttribute extends java.lang.Enum<EventAttribute>
Enum Constant | Description |
---|---|
CONTEXT_NAME |
|
EXCEPTION |
|
LEVEL |
|
LOGGER_NAME |
|
MDC |
|
MESSAGE |
|
THREAD_NAME |
|
TIMESTAMP |
Modifier and Type | Method | Description |
---|---|---|
static EventAttribute |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EventAttribute[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventAttribute LEVEL
public static final EventAttribute THREAD_NAME
public static final EventAttribute MDC
public static final EventAttribute LOGGER_NAME
public static final EventAttribute MESSAGE
public static final EventAttribute EXCEPTION
public static final EventAttribute CONTEXT_NAME
public static final EventAttribute TIMESTAMP
public static EventAttribute[] values()
for (EventAttribute c : EventAttribute.values()) System.out.println(c);
public static EventAttribute valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.