Serializable
, Comparable<ExtLogRecord.FormatStyle>
public static enum ExtLogRecord.FormatStyle extends Enum<ExtLogRecord.FormatStyle>
Enum Constant | Description |
---|---|
MESSAGE_FORMAT |
Format the message using the
MessageFormat parameter style. |
NO_FORMAT |
Do not format the message; parameters are ignored.
|
PRINTF |
Format the message using the
Formatter (also known as printf() ) parameter style. |
Modifier and Type | Method | Description |
---|---|---|
static ExtLogRecord.FormatStyle |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ExtLogRecord.FormatStyle[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtLogRecord.FormatStyle MESSAGE_FORMAT
MessageFormat
parameter style.public static final ExtLogRecord.FormatStyle PRINTF
Formatter
(also known as printf()
) parameter style.public static final ExtLogRecord.FormatStyle NO_FORMAT
public static ExtLogRecord.FormatStyle[] values()
for (ExtLogRecord.FormatStyle c : ExtLogRecord.FormatStyle.values()) System.out.println(c);
public static ExtLogRecord.FormatStyle 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 © 2018. All rights reserved.