request-log-middleware

1.0.1 • Public • Published

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     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|

Readme

Keywords

none

Package Sidebar

Install

npm i request-log-middleware

Weekly Downloads

0

Version

1.0.1

License

none

Last publish

Collaborators

  • segmentio
  • ivolo