Update README.md
This commit is contained in:
parent
935c7a7c47
commit
b218265914
|
@ -2,7 +2,14 @@
|
||||||
[](https://codeclimate.com/github/ridiculous/grape-middleware-logger) [](http://badge.fury.io/rb/grape-middleware-logger)
|
[](https://codeclimate.com/github/ridiculous/grape-middleware-logger) [](http://badge.fury.io/rb/grape-middleware-logger)
|
||||||
[](https://travis-ci.org/ridiculous/grape-middleware-logger)
|
[](https://travis-ci.org/ridiculous/grape-middleware-logger)
|
||||||
|
|
||||||
Logs the request path, endpoint name, parameters, response status and duration. Exceptions and `error!` responses are logged as well.
|
Logs:
|
||||||
|
* Request path
|
||||||
|
* Parameters
|
||||||
|
* Endpoint class name and handler
|
||||||
|
* Response status
|
||||||
|
* Duration of the request
|
||||||
|
* Exceptions
|
||||||
|
* Error responses from `error!`
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue