public enum LogCatLevel extends Enum<LogCatLevel>
| Enum Constant and Description |
|---|
ASSERT
Priority constant for the println method.
|
DEBUG
Priority constant for the println method; use Log.d.
|
ERROR
Priority constant for the println method; use Log.e.
|
INFO
Priority constant for the println method; use Log.i.
|
VERBOSE
Priority constant for the println method; use Log.v.
|
WARN
Priority constant for the println method; use Log.w.
|
| Modifier and Type | Method and Description |
|---|---|
char |
getLevel() |
String |
toString() |
static LogCatLevel |
valueOf(int value) |
static LogCatLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogCatLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogCatLevel VERBOSE
public static final LogCatLevel DEBUG
public static final LogCatLevel INFO
public static final LogCatLevel WARN
public static final LogCatLevel ERROR
public static final LogCatLevel ASSERT
public static LogCatLevel[] values()
for (LogCatLevel c : LogCatLevel.values()) System.out.println(c);
public static LogCatLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic char getLevel()
public String toString()
toString in class Enum<LogCatLevel>public static LogCatLevel valueOf(int value)
Copyright © 2026. All rights reserved.