The readme examples use the `.use()` function. ``` javascript app.use(logger()) ``` This seems to log only successful requests. **If you want to log errors** you should use `.pre()`: ``` javascript app.pre(logger()) ``` I think this should be clarified in the readme.
The readme examples use the
.use()function.This seems to log only successful requests.
If you want to log errors you should use
.pre():I think this should be clarified in the readme.