public final class AndroidLogcatAdapter extends java.lang.Object implements LogAdapter
| 构造器和说明 |
|---|
AndroidLogcatAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isLoggable(int priority,
java.lang.String tag)
Used to determine whether log should be printed out or not.
|
void |
log(int priority,
java.lang.String tag,
java.lang.String message,
java.lang.Throwable tr)
Each log will use this pipeline
|
public boolean isLoggable(int priority,
@Nullable
java.lang.String tag)
LogAdapterisLoggable 在接口中 LogAdapterpriority - is the log level e.g. DEBUG, WARNINGtag - is the given tag for the log messagepublic void log(int priority,
@NonNull
java.lang.String tag,
@NonNull
java.lang.String message,
@Nullable
java.lang.Throwable tr)
LogAdapterlog 在接口中 LogAdapterpriority - is the log level e.g. DEBUG, WARNINGtag - is the given tag for the log message.message - is the given message for the log message.tr - is exception for the given message.