public class Log
extends java.lang.Object
| Constructor and Description |
|---|
Log() |
| Modifier and Type | Method and Description |
|---|---|
static void |
d(java.lang.String msg)
Send a DEBUG log message.
|
static void |
d(java.lang.String tag,
java.lang.String msg)
Send a DEBUG log message.
|
static void |
e(java.lang.String msg)
Send a ERROR log message.
|
static void |
e(java.lang.String tag,
java.lang.String msg)
Send a ERROR log message.
|
static java.lang.String |
getStackTraceString(java.lang.Exception exception)
Gets a loggable stack trace from a
Throwable |
static void |
i(java.lang.String msg)
Send a INFO log message.
|
static void |
i(java.lang.String tag,
java.lang.String msg)
Send a INFO log message.
|
static void |
init(boolean enable)
Sets the running state.
|
static void |
l(java.lang.String msg)
Send a WARN log message.
|
static void |
v(java.lang.String msg)
Send a VERBOSE log message.
|
static void |
v(java.lang.String tag,
java.lang.String msg)
Send a VERBOSE log message.
|
static void |
w(java.lang.String msg)
Send a WARN log message.
|
static void |
w(java.lang.String tag,
java.lang.String msg)
Send a WARN log message.
|
public static void init(boolean enable)
enable - true If Advantage runs in debugging mode.
false Otherwise.public static void 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 void 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 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.public static void 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 void 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 java.lang.String getStackTraceString(java.lang.Exception exception)
Throwableexception - An exception to log.public static void l(java.lang.String msg)
msg - The message you would like logged.public static void d(java.lang.String msg)
msg - The message you would like logged.public static void i(java.lang.String msg)
msg - The message you would like logged.public static void v(java.lang.String msg)
msg - The message you would like logged.public static void w(java.lang.String msg)
msg - The message you would like logged.public static void e(java.lang.String msg)
msg - The message you would like logged.