public enum LogEntryValue extends java.lang.Enum<LogEntryValue>
Enum Constant | 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 | Description |
---|---|---|
static LogEntryValue |
valueOf(java.lang.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(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 © 2022. All rights reserved.