lib/create-server.js
function logger(req, res, next) {
  if (req.url.substr(0, 2) === "/r") {
    console.log(req.method, decodeURIComponent(req.url), req.body ? JSON.stringify(req.body) : "");
  }
  next();
}
function logger(req, res, next) {
  if (req.url.substr(0, 2) === "/r") {
    console.log(req.method, decodeURIComponent(req.url), req.body ? JSON.stringify(req.body) : "");
  }
  next();
}
function logger ( req , res , next ) { if ( req . url . substr ( 0 , 2 ) === "/r" ) { console . log ( req . method , decodeURIComponent ( req . url ) , req . body ? JSON . stringify ( req . body ) : "" ) ; } next ( ) ; }
simple logger middleware
simple logger middleware