Serializable
, Comparable<LogEntryValue>
public enum LogEntryValue extends Enum<LogEntryValue>
LogEntry
.Enum Constant | Description |
---|---|
CLASS |
The fully qualified class name of the caller.
|
CONTEXT |
Thread-based mapped diagnostic context.
|
DATE |
The current date.
|
EXCEPTION |
The exception of the log entry.
|
FILE |
The source filename of the caller.
|
LEVEL |
The severity level.
|
LINE |
The line number of calling.
|
MESSAGE |
The message of the logging event.
|
METHOD |
The method name of the caller.
|
PRECISE_DATE |
The current date with nanosecond precision if supported.
|
PROCESS_ID |
The ID of the process (pid).
|
RENDERED_LOG_ENTRY |
The rendered log entry.
|
THREAD |
The current thread.
|
Modifier and Type | Method | 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
Date
public static final LogEntryValue PRECISE_DATE
public static final LogEntryValue PROCESS_ID
public static final LogEntryValue THREAD
Thread
public static final LogEntryValue CONTEXT
LoggingContext
public static final LogEntryValue CLASS
public static final LogEntryValue METHOD
public static final LogEntryValue FILE
public static final LogEntryValue LINE
public static final LogEntryValue LEVEL
Level
public static final LogEntryValue MESSAGE
public static final LogEntryValue EXCEPTION
Throwable
public static final LogEntryValue RENDERED_LOG_ENTRY
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 © 2019. All rights reserved.