LoggerMiddlewareOptions: {
    includeOriginalRequest?: boolean;
    includeRequestInErrorResponse?: boolean;
    includeResponseHeaders?: boolean;
    logLevel?: LogLevel;
    loggerFn?: ((options) => void);
    maskSensitiveHeaderData?: boolean;
}

Type declaration

  • Optional includeOriginalRequest?: boolean
  • Optional includeRequestInErrorResponse?: boolean
  • Optional includeResponseHeaders?: boolean
  • Optional logLevel?: LogLevel
  • Optional loggerFn?: ((options) => void)
  • Optional maskSensitiveHeaderData?: boolean