public enum SupportedLogType extends Enum<SupportedLogType>
Enum Constant and Description |
---|
CLF
The Common Log Format can be used when reading web server logs in CLF.
|
COMBINED
The Combined Log format can be used when reading web server logs in combined log format.
|
CUSTOM
A Null Type that can be used when implementing custom log formats.
|
ELF
The Extended Log Format can be used when reading web server logs in ELF.
|
GENERIC
A generic type for non-specific log data that can be parsed using a regular expression.
|
GLASSFISH
The Glassfish log format can be used when reading Glassfish server logs.
|
LOG4J
The Log4J format can be used to read Apache Log4J logs.
|
SYSLOG
The Syslog format can be used to read logs produced by syslogd and other BSD syslog producers.
|
Modifier and Type | Method and Description |
---|---|
LogFormat |
getDefaultLogFormat() |
String |
getDefaultPattern() |
abstract LogFormat |
getLogFormat(String formatPattern) |
boolean |
supportsFormatDiscovery() |
String |
toString() |
static SupportedLogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedLogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedLogType CUSTOM
public static final SupportedLogType GENERIC
public static final SupportedLogType CLF
public static final SupportedLogType COMBINED
public static final SupportedLogType ELF
public static final SupportedLogType GLASSFISH
public static final SupportedLogType LOG4J
public static final SupportedLogType SYSLOG
public static SupportedLogType[] values()
for (SupportedLogType c : SupportedLogType.values()) System.out.println(c);
public static SupportedLogType 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 getDefaultPattern()
public boolean supportsFormatDiscovery()
public String toString()
toString
in class Enum<SupportedLogType>
public LogFormat getDefaultLogFormat()
Copyright © 2016 Actian Corporation. All rights reserved.