public enum Appender extends Enum<Appender>
| Enum Constant and Description |
|---|
CONSOLE
控制台
|
FILE
文件
|
FILE_JSON
json 文件
|
LOG_STASH
logstash
|
LOKI
loki
|
| Modifier and Type | Method and Description |
|---|---|
static Appender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Appender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Appender CONSOLE
public static final Appender FILE
public static final Appender FILE_JSON
public static final Appender LOG_STASH
public static final Appender LOKI
public static Appender[] values()
for (Appender c : Appender.values()) System.out.println(c);
public static Appender 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 © 2024. All rights reserved.