DioLogInterceptor class

log日志的处理类

Constructors

DioLogInterceptor()

Properties

hashCode → int
The hash code for this object.
no setterinherited
logManage ↔ LogPoolManager?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(DioException err, ErrorInterceptorHandler handler) → Future
错误数据采集
onRequest(RequestOptions options, RequestInterceptorHandler handler) → void
请求体数据采集
onResponse(Response response, ResponseInterceptorHandler handler) → Future
响应体数据采集
saveResponse(Response response) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

enablePrintLog ↔ bool
是否打印日志到控制台
getter/setter pair