public static enum Log.LogLevel extends java.lang.Enum<Log.LogLevel>
Enum Constant and Description |
---|
ASSERT |
DEBUG |
ERROR |
INFO |
VERBOSE |
WARN |
Modifier and Type | Method and Description |
---|---|
static Log.LogLevel |
getByLetter(char letter)
Returns the
Log.LogLevel enum matching the specified letter. |
static Log.LogLevel |
getByLetterString(java.lang.String letter)
Returns the
Log.LogLevel enum matching the specified letter. |
static Log.LogLevel |
getByString(java.lang.String value) |
int |
getPriority()
Returns the numerical value of the priority.
|
char |
getPriorityLetter()
Returns the letter identifying the priority of the
Log.LogLevel . |
java.lang.String |
getStringValue()
Returns a non translated string representing the LogLevel.
|
static Log.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Log.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Log.LogLevel VERBOSE
public static final Log.LogLevel DEBUG
public static final Log.LogLevel INFO
public static final Log.LogLevel WARN
public static final Log.LogLevel ERROR
public static final Log.LogLevel ASSERT
public static Log.LogLevel[] values()
for (Log.LogLevel c : Log.LogLevel.values()) System.out.println(c);
public static Log.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 Log.LogLevel getByString(java.lang.String value)
public static Log.LogLevel getByLetter(char letter)
Log.LogLevel
enum matching the specified letter.letter
- the letter matching a LogLevel
enumLogLevel
object or null
if no match were found.public static Log.LogLevel getByLetterString(java.lang.String letter)
Log.LogLevel
enum matching the specified letter.
The letter is passed as a String
argument, but only the first character
is used.
letter
- the letter matching a LogLevel
enumLogLevel
object or null
if no match were found.public char getPriorityLetter()
Log.LogLevel
.public int getPriority()
public java.lang.String getStringValue()