public static enum LoggingHandler.Levels extends java.lang.Enum<LoggingHandler.Levels>
Enum Constant and Description |
---|
DEBUG
Lowest log level.
|
ERROR
Highest log level, used to report errors.
|
INFO
Used to log useful information.
|
WARNING
Used to report warnings.
|
Modifier and Type | Method and Description |
---|---|
int |
getLogLevel() |
static LoggingHandler.Levels |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggingHandler.Levels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingHandler.Levels DEBUG
public static final LoggingHandler.Levels INFO
public static final LoggingHandler.Levels WARNING
public static final LoggingHandler.Levels ERROR
public static LoggingHandler.Levels[] values()
for (LoggingHandler.Levels c : LoggingHandler.Levels.values()) System.out.println(c);
public static LoggingHandler.Levels 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 getLogLevel()