Skip to content
Browse files

use express logger

  • Loading branch information...
1 parent 488b025 commit 242809ea051c3c9cc9e82c64bdcb79a6ac143ff0 @siuying committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 app.js
View
3 app.js
@@ -1,5 +1,6 @@
var express = require('express');
-var app = express.createServer();
+
+var app = express.createServer(express.logger());
app.get('/', function(req, res){
res.send('Hello World');

0 comments on commit 242809e

Please sign in to comment.
Something went wrong with that request. Please try again.