diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-21 13:45:16 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-21 13:45:16 +0000 |
commit | 0b54f18c4753ecea5fd7db5f295b754d86412ddd (patch) | |
tree | 9f005435ed2cbdf4784e2d01b041f0e74d389c94 /activesupport/lib/active_support | |
parent | 2d4fe31af6c203482a48c147743b3a53ae0b99c3 (diff) | |
download | rails-0b54f18c4753ecea5fd7db5f295b754d86412ddd.tar.gz rails-0b54f18c4753ecea5fd7db5f295b754d86412ddd.tar.bz2 rails-0b54f18c4753ecea5fd7db5f295b754d86412ddd.zip |
Fixed clean logger to work with Ruby 1.8.3 Logger class #2245
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/clean_logger.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/clean_logger.rb b/activesupport/lib/active_support/clean_logger.rb index 3632a27c40..d0de1188f0 100644 --- a/activesupport/lib/active_support/clean_logger.rb +++ b/activesupport/lib/active_support/clean_logger.rb @@ -10,9 +10,7 @@ class Logger #:nodoc: end private - remove_const "Format" - Format = "%s\n" def format_message(severity, timestamp, msg, progname) - Format % [msg] + "#{msg}\n" end end
\ No newline at end of file |