Skip to main content

Logger Middleware

Logger middleware logs requests (method, URL, etc.) and optionally response status. Add it with:

burger-api add logger

Import from ecosystem/middleware/ and add to globalMiddleware. See Ecosystem Introduction and CLI Add.