Update README.md

This commit is contained in:
Ryan Buckley 2015-12-15 19:35:48 -08:00
parent 935c7a7c47
commit b218265914
1 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,14 @@
[![Code Climate](https://codeclimate.com/github/ridiculous/grape-middleware-logger/badges/gpa.svg)](https://codeclimate.com/github/ridiculous/grape-middleware-logger) [![Gem Version](https://badge.fury.io/rb/grape-middleware-logger.svg)](http://badge.fury.io/rb/grape-middleware-logger)
[![Build Status](https://travis-ci.org/ridiculous/grape-middleware-logger.svg)](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