diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-20 13:36:18 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-20 13:36:18 -0800 |
commit | f02cec3c49bd08c0b3f8733ae7356b124f0622a4 (patch) | |
tree | e4b380bac922ded3ab94746e795853eefb474330 /activesupport | |
parent | 983bf6d456d29bfb9c8b497991e65682ca4d1ce4 (diff) | |
download | rails-f02cec3c49bd08c0b3f8733ae7356b124f0622a4.tar.gz rails-f02cec3c49bd08c0b3f8733ae7356b124f0622a4.tar.bz2 rails-f02cec3c49bd08c0b3f8733ae7356b124f0622a4.zip |
defined the actual logger signature
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/log_subscriber.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/log_subscriber.rb b/activesupport/lib/active_support/log_subscriber.rb index a4f0a2a2ea..58938cdc3d 100644 --- a/activesupport/lib/active_support/log_subscriber.rb +++ b/activesupport/lib/active_support/log_subscriber.rb @@ -100,9 +100,9 @@ module ActiveSupport %w(info debug warn error fatal unknown).each do |level| class_eval <<-METHOD, __FILE__, __LINE__ + 1 - def #{level}(*args, &block) + def #{level}(progname = nil, &block) return unless logger - logger.#{level}(*args, &block) + logger.#{level}(progname, &block) end METHOD end |