LogMiddleware constructor

LogMiddleware(
  1. RequestHandler internal, {
  2. bool verbose = false,
  3. String logSender = 'API',
})

Logs requests, handling times and status codes to the LogService.

verbose log as verbose instead of info

Implementation

LogMiddleware(RequestHandler internal,
    {this.verbose = false, this.logSender = 'API'})
    : super(internal);