public static enum Constants.LogLevel extends java.lang.Enum<Constants.LogLevel>
| Enum Constant and Description |
|---|
LOG_LEVEL_ERROR
0x0004: Outputs logs of the ERROR level.
|
LOG_LEVEL_FATAL
0x0008: Outputs logs of the CRITICAL level.
|
LOG_LEVEL_INFO
0x0001: Outputs logs of the INFO level.
|
LOG_LEVEL_NONE
0x0000: Outputs no log.
|
LOG_LEVEL_WARN
0x0002: Outputs logs of the WARNING level.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.LogLevel |
fromInt(int value) |
int |
getValue() |
static Constants.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.LogLevel LOG_LEVEL_NONE
public static final Constants.LogLevel LOG_LEVEL_INFO
public static final Constants.LogLevel LOG_LEVEL_WARN
public static final Constants.LogLevel LOG_LEVEL_ERROR
public static final Constants.LogLevel LOG_LEVEL_FATAL
public static Constants.LogLevel[] values()
for (Constants.LogLevel c : Constants.LogLevel.values()) System.out.println(c);
public static Constants.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 getValue()
public static Constants.LogLevel fromInt(int value)