express-middleware-log

    1.2.0 • Public • Published

    express-middleware-log NPM version

    Install

    npm install --save express-middleware-log
    

    Usage

    const logger = require("express-middleware-log"); // Include express-middleware-log in your application
    
    app.use(logger("Before Middleware 1")); // Print "Before Middleware 1" at this point
    app.use(logger(req => req.path)); // Print req.path at this point
    

    Install

    npm i express-middleware-log

    DownloadsWeekly Downloads

    3

    Version

    1.2.0

    License

    MIT

    Last publish

    Collaborators

    • fishcharlie