LoggingInterceptor constructor
LoggingInterceptor({})
Creates a new LoggingInterceptor.
Implementation
LoggingInterceptor({
this.request = true,
this.requestHeader = false,
this.requestBody = true,
this.responseHeader = false,
this.responseBody = true,
this.error = true,
this.maxWidth = 120,
this.compact = true,
this.logPrint,
String tag = 'SC:Http',
}) : _logger = StreamLogger(tag);