PrettyDioLogger constructor
PrettyDioLogger({
- bool request = true,
- bool requestHeader = false,
- bool requestBody = false,
- bool responseHeader = false,
- bool responseBody = true,
- bool error = true,
- int maxWidth = 90,
- bool compact = true,
- void logPrint(
- Object object
- bool filter(
- RequestOptions options,
- FilterArgs args
- bool enabled = true,
Default constructor
Implementation
PrettyDioLogger({
this.request = true,
this.requestHeader = false,
this.requestBody = false,
this.responseHeader = false,
this.responseBody = true,
this.error = true,
this.maxWidth = 90,
this.compact = true,
this.logPrint = print,
this.filter,
this.enabled = true,
});