slowlog
v0.0.7
Published
[![js-standard-style](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/feross/standard) [![build status](https://api.travis-ci.org/JamesKyburz/slowlog.svg)](https://travis-ci.org/JamesKyburz/slowlog) [![downloads](http
Downloads
4
Readme
slowlog http -handler
An http handler to allow logging of slow requests
Usage
// index.js
const slowlog = require('slowlog')
insertframeworkhere.use(slowlog(1000, (req, res) => {
console.log('slow request', req.url, res._headers)
}))