public enum LoggerFormat extends Enum<LoggerFormat>
Enum Constant and Description |
---|
CUSTOM
Will use user defined formatter function.
|
DEFAULT
remote-client - - [timestamp] "method uri version" status content-length "referrer" "user-agent"
|
SHORT
remote-client - method uri version status content-length duration ms
|
TINY
method uri status - content-length duration
|
Modifier and Type | Method and Description |
---|---|
static LoggerFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggerFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggerFormat DEFAULT
public static final LoggerFormat SHORT
public static final LoggerFormat TINY
public static final LoggerFormat CUSTOM
public static LoggerFormat[] values()
for (LoggerFormat c : LoggerFormat.values()) System.out.println(c);
public static LoggerFormat 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 © 2021 Eclipse. All rights reserved.