request-bunyan-log-middleware

    0.0.0 • Public • Published

    request-bunyan-log-middleware

    Log an express request.

    slightly modified to me bunyan format friendly

    Example

    var requestLog = require('request-log-middleware');
    var logger = require('bunyan').createLogger({name:'myapp'});
     
    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     \
        \___/||_||__||_|| *
             || ||  || ||
            _||_|| _||_||
           (__|__|(__|__|
    

    Keywords

    none

    Install

    npm i request-bunyan-log-middleware

    DownloadsWeekly Downloads

    6

    Version

    0.0.0

    License

    none

    Last publish

    Collaborators

    • sandfox