examples/mac/app.js
function logConsole() {

    return function (req, res, next) {

        console.log('Received request: ' + req.method + ' ' + req.originalUrl);

        next();
    };
}
function logConsole() {

    return function (req, res, next) {

        console.log('Received request: ' + req.method + ' ' + req.originalUrl);

        next();
    };
}
function logConsole ( ) { return function ( req , res , next ) { console . log ( 'Received request: ' + req . method + ' ' + req . originalUrl ) ; next ( ) ; } ; }
Log requests to console
Log requests to console