Permalink
Browse files

logging example

  • Loading branch information...
1 parent 816dffb commit 543fa665ea065ffe36c63a2e5fdd4d3714e64918 @mvrilo committed Dec 11, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 examples/logger.js
View
7 examples/logger.js
@@ -0,0 +1,7 @@
+var http = require('../lib/frank').createServer();
+
+http.get('/okay').send('okay');
+http.get('/test').send('test');
+
+http.logger('tiny');
+http.listen(8000);

0 comments on commit 543fa66

Please sign in to comment.