express-nemo-request-response-logger

1.3.0 • Public • Published

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.

/express-nemo-request-response-logger/

    Package Sidebar

    Install

    npm i express-nemo-request-response-logger

    Weekly Downloads

    41

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    5.62 kB

    Total Files

    6

    Last publish

    Collaborators

    • looooopy
    • robertstigsson
    • patoka
    • jbarath
    • sohritz
    • mattias800