public enum LoggingLevel extends java.lang.Enum<LoggingLevel>
Enum Constant and Description |
---|
BASIC |
DEBUGGING |
DETAILED |
ERROR |
LOW |
NONE |
WARNING |
Modifier and Type | Method and Description |
---|---|
static LoggingLevel |
stringToLevel(java.lang.String s)
Return LoggingLevel given its name as a string
|
java.lang.String |
toString()
String representation
|
static LoggingLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingLevel NONE
public static final LoggingLevel LOW
public static final LoggingLevel BASIC
public static final LoggingLevel DETAILED
public static final LoggingLevel DEBUGGING
public static final LoggingLevel WARNING
public static final LoggingLevel ERROR
public static LoggingLevel[] values()
for (LoggingLevel c : LoggingLevel.values()) System.out.println(c);
public static LoggingLevel 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 LoggingLevel stringToLevel(java.lang.String s)
s
- the string containing the name of the logging levelpublic java.lang.String toString()
toString
in class java.lang.Enum<LoggingLevel>