public interface Interceptor
| Modifier and Type | Method and Description |
|---|---|
boolean |
onIntercept(int level,
String tag,
Category category,
String msg)
Decide whether this item of log should be intercepted.
|
@CheckResult boolean onIntercept(int level, @NonNull String tag, @Nullable Category category, @NonNull String msg)
level - print level of this log.category - category of this log, if specified.msg - content of this log(before formatting!). Note if msg in the
original request is null, you'll get an empty string here.