OptionalenrichExtract custom properties from the request context.
OptionalexcludePaths to exclude from request logging. Accepts plain strings or objects with a path property (e.g. endpoint builders).
OptionalgetCustomize log level based on status code and elapsed time.
OptionallogWhether to log request bodies.
OptionallogWhether to log when request starts (in addition to completion).
OptionallogWhether to log response bodies.
Request logging middleware configuration.