public static enum Ollie.LogLevel extends java.lang.Enum<Ollie.LogLevel>
| Enum Constant and Description |
|---|
BASIC
Log basic events.
|
FULL
Log all queries.
|
NONE
No logging.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
log(Ollie.LogLevel logLevel) |
static Ollie.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Ollie.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ollie.LogLevel NONE
public static final Ollie.LogLevel BASIC
public static final Ollie.LogLevel FULL
public static Ollie.LogLevel[] values()
for (Ollie.LogLevel c : Ollie.LogLevel.values()) System.out.println(c);
public static Ollie.LogLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean log(Ollie.LogLevel logLevel)