Permalink
Browse files

Merge pull request #685 from rsolomo/master

Updated comments for logger middleware
  • Loading branch information...
2 parents e713ca8 + ca0773a commit df67906cabdab6c4d3d7bc4e65a0807dd8bf0ed4 @tj tj committed Nov 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/middleware/logger.js
View
@@ -66,7 +66,7 @@ var defaultBufferDuration = 1000;
* connect.logger({ immediate: true, format: 'dev' })
* connect.logger(':method :url - :referrer')
* connect.logger(':req[content-type] -> :res[content-type]')
- * connect.logger(function(req, res){ return 'some format string' })
+ * connect.logger(function(tokens, req, res){ return 'some format string' })
*
* Defining Tokens:
*

0 comments on commit df67906

Please sign in to comment.