mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
Typo
This commit is contained in:
parent
33db51245b
commit
7fb15d204c
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ and then add an initializer in your Rails project:
|
|||
# config/initializers/instrumentation.rb
|
||||
|
||||
# Subscribe to grape request and log with Rails.logger
|
||||
ActiveSupport::Notifications.subscribe('grape') do |name, starts, ends, notification_id, payload|
|
||||
ActiveSupport::Notifications.subscribe('grape_key') do |name, starts, ends, notification_id, payload|
|
||||
Rails.logger.info payload
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue