From 0b54f18c4753ecea5fd7db5f295b754d86412ddd Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 21 Sep 2005 13:45:16 +0000 Subject: 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 --- activesupport/lib/active_support/clean_logger.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'activesupport/lib/active_support/clean_logger.rb') 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 -- cgit v1.2.3