OptionalcustomCustom function to generate error messages.
OptionalcustomCustom function to modify the error log object.
OptionalcustomCustom function to determine log level based on request, response and error.
OptionalcustomCustom function to generate success messages.
OptionalcustomCustom function to modify the success log object.
OptionalignoreCustom ignore options for automatic logging.
OptionalignoreArray of paths or regular expressions to ignore from logging.
A Logger instance used for logging requests and responses.
Options for configuring the access log middleware.