|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Log.LogLevel>
com.android.ddmlib.Log.LogLevel
public static enum Log.LogLevel
Log Level enum.
| Enum Constant Summary | |
|---|---|
ASSERT
|
|
DEBUG
|
|
ERROR
|
|
INFO
|
|
VERBOSE
|
|
WARN
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
java.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 enum
LogLevel 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 enum
LogLevel object or null if no match were found.public char getPriorityLetter()
Log.LogLevel.
public int getPriority()
public java.lang.String getStringValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||