MiddlewareFactory.logging()
Home > @backstage/backend-app-api
> MiddlewareFactory
> logging
Returns a request logging middleware.
Signature:
logging(): RequestHandler;
Returns:
RequestHandler
An Express request handler
Remarks
Typically you want to place this middleware at the start of the chain, such that it always logs requests whether they are "caught" by handlers farther down or not.