public interface Logger
Log| 限定符和类型 | 方法和说明 |
|---|---|
int |
d(java.lang.String tag,
java.lang.String msg)
Send a
Log.DEBUG log message. |
int |
d(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a
Log.DEBUG log message and log the exception. |
int |
dt(java.lang.String tag,
java.lang.String msg) |
int |
e(java.lang.String tag,
java.lang.Exception e) |
int |
e(java.lang.String tag,
java.lang.String msg)
Send an
Log.ERROR log message. |
int |
e(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a
Log.ERROR log message and log the exception. |
int |
et(java.lang.String tag,
java.lang.String msg) |
int |
i(java.lang.String tag,
java.lang.String msg)
Send an
Log.INFO log message. |
int |
i(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a
Log.INFO log message and log the exception. |
int |
it(java.lang.String tag,
java.lang.Object msg) |
int |
v(java.lang.String tag,
java.lang.String msg)
Send a
Log.VERBOSE log message. |
int |
v(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a
Log.VERBOSE log message and log the exception. |
int |
vt(java.lang.String tag,
java.lang.String msg) |
int |
w(java.lang.String tag,
java.lang.String msg)
Send a
Log.WARN log message. |
int |
w(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a
Log.WARN log message and log the exception. |
int |
wt(java.lang.String tag,
java.lang.String msg) |
int v(java.lang.String tag,
java.lang.String msg)
Log.VERBOSE log message.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.int v(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Log.VERBOSE log message and log the exception.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 logint vt(java.lang.String tag,
java.lang.String msg)
int d(java.lang.String tag,
java.lang.String msg)
Log.DEBUG log message.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.int d(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Log.DEBUG log message and log the exception.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 logint dt(java.lang.String tag,
java.lang.String msg)
int i(java.lang.String tag,
java.lang.String msg)
Log.INFO log message.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.int i(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Log.INFO log message and log the exception.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 logint it(java.lang.String tag,
java.lang.Object msg)
int w(java.lang.String tag,
java.lang.String msg)
Log.WARN log message.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.int w(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Log.WARN log message and log the exception.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 logint wt(java.lang.String tag,
java.lang.String msg)
int e(java.lang.String tag,
java.lang.String msg)
Log.ERROR log message.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.int e(java.lang.String tag,
java.lang.Exception e)
int e(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Log.ERROR log message and log the exception.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 logint et(java.lang.String tag,
java.lang.String msg)