public enum LogEntryValue extends Enum<LogEntryValue>
Enum Constant and Description |
---|
CLASS
Name of issuing class.
|
CONTEXT
Thread context mapping as it was active while issuing.
|
DATE
Date and time of issue.
|
EXCEPTION
Caught exception or throwable.
|
FILE
Name of issuing source file.
|
LEVEL
Severity level.
|
LINE
Issuing line number in source file.
|
MESSAGE
Text message.
|
METHOD
Name of issuing method.
|
TAG
Tag from tagged logger.
|
THREAD
Issuing thread.
|
Modifier and Type | Method and Description |
---|---|
static LogEntryValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogEntryValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogEntryValue DATE
LogEntry.getTimestamp()
public static final LogEntryValue THREAD
LogEntry.getThread()
public static final LogEntryValue CONTEXT
LogEntry.getContext()
public static final LogEntryValue CLASS
LogEntry.getClassName()
public static final LogEntryValue METHOD
LogEntry.getMethodName()
public static final LogEntryValue FILE
LogEntry.getFileName()
public static final LogEntryValue LINE
LogEntry.getLineNumber()
public static final LogEntryValue TAG
LogEntry.getTag()
public static final LogEntryValue LEVEL
LogEntry.getLevel()
public static final LogEntryValue MESSAGE
LogEntry.getMessage()
public static final LogEntryValue EXCEPTION
LogEntry.getException()
public static LogEntryValue[] values()
for (LogEntryValue c : LogEntryValue.values()) System.out.println(c);
public static LogEntryValue valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.