LoggingOptions class

Options to customize logging of http requests/responses

Constructors

LoggingOptions({bool logNetworkTraffic = true, bool request = true, bool requestHeader = true, bool requestBody = true, bool responseBody = true, bool responseHeader = true, bool error = true, bool compact = true, bool logStorage = true, bool logCacheStorage = true})
const

Properties

compact bool
Print compact json response
final
error bool
Print error message
final
hashCode int
The hash code for this object.
no setterinherited
logCacheStorage bool
Print cache storage content
final
logNetworkTraffic bool
Toggle logging of your requests and responses to the console while debugging
final
logStorage bool
Print storage content
final
request bool
Print request Options
final
requestBody bool
Print request data Options.data
final
requestHeader bool
Print request header Options.headers
final
responseBody bool
Print Response.data
final
responseHeader bool
Print Response.headers
final
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
toString() String
A string representation of this object.
inherited

Operators

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