Skip to content

Commit

Permalink
logger for mvc
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 26, 2012
1 parent bd2a972 commit 50f4346
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/mvc/index.js
Expand Up @@ -51,6 +51,9 @@ app.locals.use(function(req, res){
req.session.messages = [];
});

// log
app.use(express.logger('dev'));

// serve static files
app.use(express.static(__dirname + '/public'));

Expand Down

0 comments on commit 50f4346

Please sign in to comment.