LoggingInterceptor constructor

const LoggingInterceptor({
  1. void logger(
    1. String message
    ) = print,
})

Creates a LoggingInterceptor with an optional custom logger.

Implementation

const LoggingInterceptor({this.logger = print});