Skip to content

Instantly share code, notes, and snippets.

@vital101
Created March 21, 2014 15:48
Show Gist options
  • Save vital101/9689180 to your computer and use it in GitHub Desktop.
Save vital101/9689180 to your computer and use it in GitHub Desktop.
var logger = function(req, res, next) {
console.log(req);
next();
};
app.configure(function() {
app.user(logger);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment