Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Latest commit

 

History

History

README.md

express-nemo-request-response-logger

A middleware for express, adding request and response logging

Options

Name Required Default value Description
logEventFactory func A function receiving the request and response object, returning a log event to be passed off to the logger.
loggerFunctionName debug The name of the function to be called on the logger. Can be used to change the level a request/response is logged with.