mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
Merge pull request #20 from holstvoogd/patch-1
Add require line to example in readme
This commit is contained in:
commit
91a16f480c
1 changed files with 2 additions and 1 deletions
|
|
@ -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 }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue