request-log-middleware

Log an [express](https://github.com/visionmedia/express) request.

npm install request-log-middleware
5 downloads in the last week
12 downloads in the last month

request-log-middleware

Log an [express](https://github.com/visionmedia/express) request.

Example

var requestLog = require('request-log-middleware');
var logger = new require('winston').Logger();

var app = express();

app.configure('production', function () {
  app.use(requestLog(logger));
});

API

requestLog(logger)

Return a request logger middleware.

License

WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
     /  |           \
    /o o|    MIT     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|
npm loves you