public interface Logger
| Modifier and Type | Method and Description |
|---|---|
void |
d(java.lang.String tag,
java.lang.String msg)
Send a DEBUG message.
|
void |
d(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a DEBUG message and log the exception.
|
void |
e(java.lang.String tag,
java.lang.String msg)
Send an ERROR message.
|
void |
e(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a ERROR message and log the exception.
|
void |
i(java.lang.String tag,
java.lang.String msg)
Send an INFO message.
|
void |
i(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a INFO message and log the exception.
|
void |
v(java.lang.String tag,
java.lang.String msg)
Send a VERBOSE message.
|
void |
v(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a VERBOSE message and log the exception.
|
void |
w(java.lang.String tag,
java.lang.String msg)
Send a WARN message.
|
void |
w(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a WARN message and log the exception.
|
void |
w(java.lang.String tag,
java.lang.Throwable tr) |
void 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.void v(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 logvoid 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.void d(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 logvoid 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.void i(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 logvoid 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.void w(java.lang.String tag,
java.lang.Throwable tr)
void w(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 logvoid 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.void 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 log