Permalink
Browse files

added logger.fast example

  • Loading branch information...
1 parent e041ea8 commit 55704b0235549a14e52900fbbd2ea54231d5d7ef @tj tj committed Feb 23, 2011
Showing with 14 additions and 0 deletions.
  1. +14 −0 examples/logger.fast.js
View
@@ -0,0 +1,14 @@
+
+/**
+ * Module dependencies.
+ */
+
+var connect = require('../');
+
+// $ curl -i http://localhost:3000/favicon.ico
+// true defaults to 1000ms
+
+connect.createServer(
+ connect.logger({ buffer: 5000 })
+ , connect.favicon()
+).listen(3000);

0 comments on commit 55704b0

Please sign in to comment.