Log.LogLevel

public static final enum Log.LogLevel
extends Enum<Log.LogLevel>

java.lang.Object
   ↳ java.lang.Enum<com.android.ddmlib.Log.LogLevel>
     ↳ com.android.ddmlib.Log.LogLevel


Wyliczenie Log Level.

Podsumowanie

Wartości typu wyliczeniowego

Log.LogLevel  ASSERT

 

Log.LogLevel  DEBUG

 

Log.LogLevel  ERROR

 

Log.LogLevel  INFO

 

Log.LogLevel  VERBOSE

 

Log.LogLevel  WARN

 

Metody publiczne

static Log.LogLevel getByLetter(char letter)

Zwraca wyliczenie LogLevel odpowiadające podanej literze.

static Log.LogLevel getByLetterString(String letter)

Zwraca wyliczenie LogLevel odpowiadające podanej literze.

static Log.LogLevel getByString(String value)
int getPriority()

Zwraca wartość liczbową priorytetu.

char getPriorityLetter()

Zwraca literę określającą priorytet LogLevel.

String getStringValue()

Zwraca nieprzetłumaczony ciąg znaków reprezentujący LogLevel.

static Log.LogLevel valueOf(String name)
static final LogLevel[] values()

Wartości typu wyliczeniowego

ASSERT

public static final Log.LogLevel ASSERT

DEBUGUJ

public static final Log.LogLevel DEBUG

BŁĄD

public static final Log.LogLevel ERROR

INFORMACJE

public static final Log.LogLevel INFO

VERBOSE

public static final Log.LogLevel VERBOSE

WARN

public static final Log.LogLevel WARN

Metody publiczne

getByLetter

public static Log.LogLevel getByLetter (char letter)

Zwraca wyliczenie LogLevel odpowiadające podanej literze.

Parametry
letter char: litera odpowiadająca wyliczeniu LogLevel

Zwroty
Log.LogLevel obiekt LogLevel lub null, jeśli nie znaleziono dopasowania.

getByLetterString

public static Log.LogLevel getByLetterString (String letter)

Zwraca wyliczenie LogLevel odpowiadające podanej literze.

Litera jest przekazywana jako argument String, ale używany jest tylko pierwszy znak.

Parametry
letter String: litera odpowiadająca wyliczeniu LogLevel

Zwroty
Log.LogLevel obiekt LogLevel lub null, jeśli nie znaleziono dopasowania.

getByString

public static Log.LogLevel getByString (String value)

Parametry
value String

Zwroty
Log.LogLevel

getPriority

public int getPriority ()

Zwraca wartość liczbową priorytetu.

Zwroty
int

getPriorityLetter

public char getPriorityLetter ()

Zwraca literę określającą priorytet LogLevel.

Zwroty
char

getStringValue

public String getStringValue ()

Zwraca nieprzetłumaczony ciąg znaków reprezentujący LogLevel.

Zwroty
String

valueOf

public static Log.LogLevel valueOf (String name)

Parametry
name String

Zwroty
Log.LogLevel

wartości,

public static final LogLevel[] values ()

Zwroty
LogLevel[]