Log
public
class
Log
extends Object
| java.lang.Object | |
| ↳ | com.android.ddmlib.Log |
Summary
Public constructors | |
|---|---|
Log()
|
|
Public methods | |
|---|---|
static
void
|
d(String tag, String message)
Outputs a |
static
void
|
e(String tag, String message)
Outputs a |
static
void
|
e(String tag, Throwable throwable)
Outputs a |
static
void
|
i(String tag, String message)
Outputs a |
static
void
|
logAndDisplay(Log.LogLevel logLevel, String tag, String message)
|
static
void
|
v(String tag, String message)
Outputs a |
static
void
|
w(String tag, String message)
Outputs a |
Public constructors
Log
public Log ()
Public methods
d
public static void d (String tag,
String message)Outputs a LogLevel.DEBUG level message.
| Parameters | |
|---|---|
tag |
String: The tag associated with the message. |
message |
String: The message to output. |
e
public static void e (String tag,
String message)Outputs a LogLevel.ERROR level message.
| Parameters | |
|---|---|
tag |
String: The tag associated with the message. |
message |
String: The message to output. |
e
public static void e (String tag,
Throwable throwable)Outputs a LogLevel.ERROR level Throwable information.
| Parameters | |
|---|---|
tag |
String: The tag associated with the message. |
throwable |
Throwable: The Throwable to output. |
i
public static void i (String tag,
String message)Outputs a LogLevel.INFO level message.
| Parameters | |
|---|---|
tag |
String: The tag associated with the message. |
message |
String: The message to output. |
logAndDisplay
public static void logAndDisplay (Log.LogLevel logLevel, String tag, String message)
| Parameters | |
|---|---|
logLevel |
Log.LogLevel |
tag |
String |
message |
String |
v
public static void v (String tag,
String message)Outputs a LogLevel.VERBOSE level message.
| Parameters | |
|---|---|
tag |
String: The tag associated with the message. |
message |
String: The message to output. |
w
public static void w (String tag,
String message)Outputs a LogLevel.WARN level message.
| Parameters | |
|---|---|
tag |
String: The tag associated with the message. |
message |
String: The message to output. |