public class LogUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
d(java.lang.String tag,
java.lang.String msg)
Send an
Log.DEBUG log message. |
static void |
d(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send an
Log.DEBUG log message and log the exception. |
static void |
e(java.lang.String tag,
java.lang.String msg)
Send an
Log.ERROR log message. |
static void |
e(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a
Log.ERROR log message and log the exception. |
static void |
i(java.lang.String tag,
java.lang.String msg)
Send an
Log.INFO log message |
static void |
i(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send an
Log.INFO log message and log the exception. |
static void |
v(java.lang.String tag,
java.lang.String msg)
Send an
Log.VERBOSE log message. |
static void |
v(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send an
Log.VERBOSE log message and log the exception. |
static void |
w(java.lang.String tag,
java.lang.String msg)
Send a
Log.WARN log message. |
static void |
w(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a
Log.WARN log message and log the exception. |
public static void 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 logpublic static void 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.public static void 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 logpublic static void 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.public static void 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 logpublic static void i(java.lang.String tag,
java.lang.String msg)
Log.INFO log messagetag - 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 void 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 logpublic static void 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.public static void 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 logpublic static void 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.