mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-27 14:57:40 +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
|
# config/initializers/instrumentation.rb
|
||||||
|
|
||||||
# Subscribe to grape request and log with Rails.logger
|
# 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
|
Rails.logger.info payload
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue