BasicDohLogger class

Default logger interceptor implementation

Implemented types

Constructors

BasicDohLogger.new({bool enablePrettyPrint = true})

Properties

enablePrettyPrint bool
final
hashCode int
The hash code for this object.
no setterinherited
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(String method, String url, dynamic error) → void
Called when an error occurs
override
onRequest(String method, String url, Map<String, dynamic> headers, [String? body, String? dohProvider]) → void
Called before the request is sent
override
onResponse(String method, String url, DohResponse response) → void
Called after the response is received
override
toString() String
A string representation of this object.
inherited

Operators

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