LoggerOptions.minimal constructor

const LoggerOptions.minimal({
  1. void logPrint(
    1. String message
    ) = print,
  2. List<APIMethod> methods = APIMethod.values,
  3. bool colorOutput = true,
})

Creates minimal logging options (only basic request/response info).

Implementation

const LoggerOptions.minimal({
  this.logPrint = print,
  this.methods = APIMethod.values,
  this.colorOutput = true,
}) : request = true,
     requestBody = false,
     responseBody = false,
     error = true,
     stackTrace = false,
     prettyPrint = false;