public static enum CentralLogger.Slf4jKey extends java.lang.Enum<CentralLogger.Slf4jKey>
| Enum Constant and Description |
|---|
LOGGER_NAME
The logger name.
|
ORIGINAL_TIME
The original event time.
|
SOURCE_CLASS
The name of the source class.
|
SOURCE_METHOD
The name of the source method.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
key
The name of the key.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Returns the key name.
|
java.lang.String |
toString()
Returns the string representation of the enum entry, that is the key name.
|
static CentralLogger.Slf4jKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CentralLogger.Slf4jKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CentralLogger.Slf4jKey LOGGER_NAME
public static final CentralLogger.Slf4jKey ORIGINAL_TIME
public static final CentralLogger.Slf4jKey SOURCE_CLASS
public static final CentralLogger.Slf4jKey SOURCE_METHOD
public static CentralLogger.Slf4jKey[] values()
for (CentralLogger.Slf4jKey c : CentralLogger.Slf4jKey.values()) System.out.println(c);
public static CentralLogger.Slf4jKey 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 nullpublic java.lang.String getKey()
public java.lang.String toString()
toString in class java.lang.Enum<CentralLogger.Slf4jKey>