public class RLog
extends java.lang.Object
构造器和说明 |
---|
RLog() |
限定符和类型 | 方法和说明 |
---|---|
static int |
d(java.lang.String tag,
java.lang.String msg)
Send a DEBUG log message.
|
static int |
e(java.lang.String tag,
java.lang.String msg)
Send an ERROR log message.
|
static int |
e(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a ERROR log message and log the exception.
|
static int |
f(java.lang.String tag,
java.lang.String msg) |
static int |
i(java.lang.String tag,
java.lang.String msg)
Send an INFO log message.
|
static int |
v(java.lang.String tag,
java.lang.String msg)
Send a VERBOSE log message.
|
static int |
w(java.lang.String tag,
java.lang.String msg)
Send a WARN log message.
|
public static int v(java.lang.String tag, java.lang.String msg)
tag
- Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.msg
- The message you would like logged.public static int d(java.lang.String tag, java.lang.String msg)
tag
- Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.msg
- The message you would like logged.public static int i(java.lang.String tag, java.lang.String msg)
tag
- Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.msg
- The message you would like logged.public static int w(java.lang.String tag, java.lang.String msg)
tag
- Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.msg
- The message you would like logged.public static int e(java.lang.String tag, java.lang.String msg)
tag
- Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.msg
- The message you would like logged.public static int e(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)
tag
- Used to identify the source of a log message. It usually identifies
the class or activity where the log call occurs.msg
- The message you would like logged.tr
- An exception to logpublic static int f(java.lang.String tag, java.lang.String msg)