Optional
customAn array of custom environment variable names.
Optional
customAn array of custom header keys.
Optional
dataA function that formats the data before logging.
Optional
genA function that generates an ID.
Optional
loggerAn instance of a logger.
Optional
onCallback function that will be called when the request is finished.
Optional
stdoutSpecifies whether the standard output is disabled.
Represents the options for the middleware.