|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectcom.baidu.sapi2.log.Logger
public class Logger
Wrapper API for sending log output.
字段摘要 | |
---|---|
protected static String |
TAG
|
构造方法摘要 | |
---|---|
Logger()
|
方法摘要 | |
---|---|
protected static String |
buildMessage(String msg)
Building Message |
static void |
d(String msg)
Send a DEBUG log message. |
static void |
d(String msg,
Throwable thr)
Send a DEBUG log message and log the exception. |
static void |
e(String msg)
Send an ERROR log message. |
static void |
e(String msg,
Throwable thr)
Send an ERROR log message and log the exception. |
static void |
i(String msg)
Send an INFO log message. |
static void |
i(String msg,
Throwable thr)
Send a INFO log message and log the exception. |
static void |
v(String msg)
Send a VERBOSE log message. |
static void |
v(String msg,
Throwable thr)
Send a VERBOSE log message and log the exception. |
static void |
w(String msg)
Send a WARN log message |
static void |
w(String msg,
Throwable thr)
Send a WARN log message and log the exception. |
static void |
w(Throwable thr)
Send an empty WARN log message and log the exception. |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
protected static final String TAG
构造方法详细信息 |
---|
public Logger()
方法详细信息 |
---|
public static void v(String msg)
msg
- The message you would like logged.public static void v(String msg, Throwable thr)
msg
- The message you would like logged.thr
- An exception to logpublic static void d(String msg)
msg
- public static void d(String msg, Throwable thr)
msg
- The message you would like logged.thr
- An exception to logpublic static void i(String msg)
msg
- The message you would like logged.public static void i(String msg, Throwable thr)
msg
- The message you would like logged.thr
- An exception to logpublic static void e(String msg)
msg
- The message you would like logged.public static void w(String msg)
msg
- The message you would like logged.public static void w(String msg, Throwable thr)
msg
- The message you would like logged.thr
- An exception to logpublic static void w(Throwable thr)
thr
- An exception to logpublic static void e(String msg, Throwable thr)
msg
- The message you would like logged.thr
- An exception to logprotected static String buildMessage(String msg)
msg
- The message you would like logged.
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |