aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/logger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/logger.rb')
-rw-r--r--activesupport/lib/active_support/logger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/logger.rb b/activesupport/lib/active_support/logger.rb
index a520e8f2f6..92b890dbb0 100644
--- a/activesupport/lib/active_support/logger.rb
+++ b/activesupport/lib/active_support/logger.rb
@@ -62,14 +62,14 @@ module ActiveSupport
if respond_to?(:silence)
super(level, &block)
else
- block.call(level)
+ block.call(self)
end
end
else
if respond_to?(:silence)
super(level, &block)
else
- block.call(level)
+ block.call(self)
end
end
end