Skip to content

Commit

Permalink
Merge 8025fa4 into be1c160
Browse files Browse the repository at this point in the history
  • Loading branch information
santi8ago8 committed Sep 25, 2014
2 parents be1c160 + 8025fa4 commit 07f8dc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ will be called as `skip(req, res)`.

```js
// EXAMPLE: only log error responses
morgan('combined', {
morgan({
format: 'combined',
skip: function (req, res) { return res.statusCode < 400 }
})
```
Expand Down

0 comments on commit 07f8dc3

Please sign in to comment.