module Redis::Rails::Instrumentation::Logging
Logging
monkeypatch for Redis
to emit ActiveSupport::Notification events
Public Instance Methods
logging(commands, &block)
click to toggle source
Calls superclass method
# File lib/redis/rails/instrumentation/logging.rb, line 6 def logging(commands, &block) ActiveSupport::Notifications.instrument('command.redis', commands: commands) do return super(commands, &block) end end