public static enum Constants.LogLevel extends java.lang.Enum<Constants.LogLevel>
Enum Constant and Description |
---|
LOG_LEVEL_ERROR
Outputs logs of the ERROR level.
|
LOG_LEVEL_FATAL
Outputs logs of the CRITICAL level.
|
LOG_LEVEL_INFO
Outputs logs of the INFO level.
|
LOG_LEVEL_NONE
Outputs no log.
|
LOG_LEVEL_WARN
Outputs logs of the WARNING level.
|
Modifier and Type | Method and Description |
---|---|
static int |
getValue(Constants.LogLevel type) |
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 static int getValue(Constants.LogLevel type)