Serializable
, Comparable<JdbcWriter.Value>
public static enum JdbcWriter.Value extends Enum<JdbcWriter.Value>
JdbcWriter
Enum Constant | Description |
---|---|
CLASS |
The fully qualified class name of the caller.
|
CLASS_NAME |
The class name without package of the caller.
|
CONTEXT |
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.
|
PACKAGE |
The package name of the caller.
|
PROCESS_ID |
The ID of the process (pid).
|
RENDERED_LOG_ENTRY |
The rendered log entry.
|
THREAD_ID |
The ID of the current thread.
|
THREAD_NAME |
The name of the current thread.
|
Modifier and Type | Method | Description |
---|---|---|
static JdbcWriter.Value |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static JdbcWriter.Value[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JdbcWriter.Value DATE
Date
public static final JdbcWriter.Value PROCESS_ID
public static final JdbcWriter.Value THREAD_NAME
public static final JdbcWriter.Value THREAD_ID
public static final JdbcWriter.Value CONTEXT
public static final JdbcWriter.Value CLASS
public static final JdbcWriter.Value CLASS_NAME
public static final JdbcWriter.Value PACKAGE
public static final JdbcWriter.Value METHOD
public static final JdbcWriter.Value FILE
public static final JdbcWriter.Value LINE
public static final JdbcWriter.Value LEVEL
Level
public static final JdbcWriter.Value MESSAGE
public static final JdbcWriter.Value EXCEPTION
Throwable
public static final JdbcWriter.Value RENDERED_LOG_ENTRY
public static JdbcWriter.Value[] values()
for (JdbcWriter.Value c : JdbcWriter.Value.values()) System.out.println(c);
public static JdbcWriter.Value 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.