LoggingInterceptor constructor
LoggingInterceptor({})
Implementation
LoggingInterceptor({
this.level = LogLevel.body,
this.redactHeaders = const [
'authorization',
'cookie',
'x-api-key',
'api-key',
],
this.redactFields = const [
'password',
'token',
'access_token',
'refresh_token',
'ssn',
'credit_card',
'cvv',
],
this.logPrint,
});