public static enum Log.LogLevel extends java.lang.Enum<Log.LogLevel>
Enum Constant and Description |
---|
DEBUG
Debug messages.
|
ERROR
Critical errors.
|
INFO
Informative messages.
|
NO_LOG
Unrealistically high level used to disable logs
|
TRACE
Trace messages.
|
TRADING
Information related to trading activity.
|
WARN
Important warnings.
|
Modifier and Type | Field and Description |
---|---|
int |
levelAsInt
Integer representing log level.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allows(Log.LogLevel level) |
static Log.LogLevel |
fromInt(int levelAsInt) |
static Log.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Log.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Log.LogLevel TRACE
public static final Log.LogLevel DEBUG
public static final Log.LogLevel INFO
public static final Log.LogLevel WARN
public static final Log.LogLevel ERROR
public static final Log.LogLevel TRADING
public static final Log.LogLevel NO_LOG
public final int levelAsInt
public static Log.LogLevel[] values()
for (Log.LogLevel c : Log.LogLevel.values()) System.out.println(c);
public static Log.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 static Log.LogLevel fromInt(int levelAsInt)
public boolean allows(Log.LogLevel level)