DiagnosticsInterceptor constructor

DiagnosticsInterceptor(
  1. void write(
    1. Map<String, Object?> event
    ), {
  2. HeaderRedactor? redactor,
})

Implementation

DiagnosticsInterceptor(this.write, {HeaderRedactor? redactor})
    : redactor = redactor ?? HeaderRedactor();