public enum LogLevel extends java.lang.Enum<LogLevel>
Enum Constant | Description |
---|---|
Debug |
This log option prints detailed information about any operations in cache.
|
Error |
This log flag gives the cause of errors that are raised during operation execution.
|
Info |
Info level describes some useful information about any operation performed on cache.
|
Modifier and Type | Method | Description |
---|---|---|
static LogLevel |
forValue(int value) |
retreives the enum constant of the specified value, if exists.
|
int |
getValue() |
Order is important in enums.By using getValue() method, each enum constant index can be found, just like array index.
|
static LogLevel |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLevel Info
public static final LogLevel Error
public static final LogLevel Debug
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static 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 LogLevel forValue(int value)
value
- enum constant indexpublic int getValue()