diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-07 18:54:36 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-07 18:54:36 +0000 |
commit | c90d31eb376ebe331394112697ec33a22f61c2d8 (patch) | |
tree | 0451881f6e737772e5601bdcd9686ac5e9e76a70 /activesupport/lib/active_support | |
parent | 2101c25faf6560f2689584eadd12fd715533766b (diff) | |
download | rails-c90d31eb376ebe331394112697ec33a22f61c2d8.tar.gz rails-c90d31eb376ebe331394112697ec33a22f61c2d8.tar.bz2 rails-c90d31eb376ebe331394112697ec33a22f61c2d8.zip |
Correct BufferedLogger#level? checks. Closes #9806.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/buffered_logger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/buffered_logger.rb b/activesupport/lib/active_support/buffered_logger.rb index e666b7f0ed..37e6d200cd 100644 --- a/activesupport/lib/active_support/buffered_logger.rb +++ b/activesupport/lib/active_support/buffered_logger.rb @@ -70,7 +70,7 @@ module ActiveSupport end def #{severity.downcase}? - @level == #{severity} + #{severity} >= @level end EOT end |