good-requests-filter
Version:
Simple transform stream for filtering specific resuqest logging with good
14 lines (8 loc) • 606 B
Markdown
# good-requests-filter
Simple transform stream for filtering specific request logging with good
[](https://travis-ci.org/elegantmonkeys/good-requests-filter)
## Good Requests Filter
Extends `Stream.Transform` and filters requests logs which match given regular expressions
### `new GoodRequestsFilter (options)`
Creates a new `GoodRequestsFilter` transform stream.
- `options` an object with a `paths` property which is an array of regular expressions to filter. For example `{ paths: [ /\/swaggerui\/*/ ] }