public static enum LogConfig.LoggingType extends Enum<LogConfig.LoggingType>
Enum Constant and Description |
---|
AWSLOGS |
DB |
DEFAULT |
ETWLOGS |
FLUENTD |
GCPLOGS |
GELF |
JOURNALD |
JSON_FILE |
LOCAL |
NONE |
SPLUNK |
SYSLOG |
Modifier and Type | Method and Description |
---|---|
static LogConfig.LoggingType |
fromValue(String text) |
String |
getType() |
String |
toString() |
static LogConfig.LoggingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogConfig.LoggingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogConfig.LoggingType NONE
public static final LogConfig.LoggingType DEFAULT
public static final LogConfig.LoggingType LOCAL
public static final LogConfig.LoggingType ETWLOGS
public static final LogConfig.LoggingType JSON_FILE
public static final LogConfig.LoggingType SYSLOG
public static final LogConfig.LoggingType JOURNALD
public static final LogConfig.LoggingType GELF
public static final LogConfig.LoggingType FLUENTD
public static final LogConfig.LoggingType AWSLOGS
public static final LogConfig.LoggingType DB
public static final LogConfig.LoggingType SPLUNK
public static final LogConfig.LoggingType GCPLOGS
public static LogConfig.LoggingType[] values()
for (LogConfig.LoggingType c : LogConfig.LoggingType.values()) System.out.println(c);
public static LogConfig.LoggingType 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 nullpublic String getType()
@CheckForNull public static LogConfig.LoggingType fromValue(String text)
public String toString()
toString
in class Enum<LogConfig.LoggingType>
Copyright © 2021. All rights reserved.