Merge pull request #20 from holstvoogd/patch-1

Add require line to example in readme
This commit is contained in:
Adrian Serafin 2016-02-24 13:57:23 +01:00
commit 91a16f480c

View file

@ -19,7 +19,8 @@ Or install it yourself as:
## Basic Usage
In your api file (somewhere on the top)
require 'grape_logging'
logger.formatter = GrapeLogging::Formatters::Default.new
use GrapeLogging::Middleware::RequestLogger, { logger: logger }