public static enum LogOptions.LogLevel extends java.lang.Enum<LogOptions.LogLevel>
Enum Constant and Description |
---|
DEBUG
Print all Debug logs, and all log levels above this one.
|
ERROR
Print only Error logs.
|
INFO
Print all Info logs, and all log levels above this one.
|
VERBOSE
Print all Verbose logs, and all log levels above this one.
|
WARN
Print all Warning logs, and all log levels above this one.
|
Modifier and Type | Method and Description |
---|---|
static LogOptions.LogLevel |
fromNative(int nativeBit) |
int |
nativeBit() |
static LogOptions.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogOptions.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static LogOptions.LogLevel[] |
VALUES() |
public static final LogOptions.LogLevel VERBOSE
public static final LogOptions.LogLevel DEBUG
public static final LogOptions.LogLevel INFO
public static final LogOptions.LogLevel WARN
public static final LogOptions.LogLevel ERROR
public static LogOptions.LogLevel[] values()
for (LogOptions.LogLevel c : LogOptions.LogLevel.values()) System.out.println(c);
public static LogOptions.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 int nativeBit()
public static LogOptions.LogLevel fromNative(int nativeBit)
public static LogOptions.LogLevel[] VALUES()