mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
Update Readme
Add a require of grape_logging to the example.
This commit is contained in:
parent
9e247e0909
commit
1d57549c12
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