Merge branch 'master' of github.com:ridiculous/grape-middleware-logger
This commit is contained in:
commit
ac4e3225df
11
README.md
11
README.md
|
@ -1,8 +1,15 @@
|
|||
# Grape::Middleware::Logger
|
||||
# A logger for Grape apps
|
||||
[](https://codeclimate.com/github/ridiculous/grape-middleware-logger) [](http://badge.fury.io/rb/grape-middleware-logger)
|
||||
[](https://travis-ci.org/ridiculous/grape-middleware-logger)
|
||||
|
||||
Simple logger for Grape apps. Logs request path, parameters, status and time taken. Also logs exceptions and error responses (thrown by `error!`).
|
||||
Logs:
|
||||
* Request path
|
||||
* Parameters
|
||||
* Endpoint class name and handler
|
||||
* Response status
|
||||
* Duration of the request
|
||||
* Exceptions
|
||||
* Error responses from `error!`
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
Loading…
Reference in New Issue