From 7ed37c82a9d8d5d8df8b18d6baaf1ecc4abd06f8 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 21 Nov 2005 07:29:22 +0000 Subject: r3218@asus: jeremy | 2005-11-20 03:06:32 -0800 alias old format_message before overriding it git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/clean_logger.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/clean_logger.rb b/activesupport/lib/active_support/clean_logger.rb index 89dfae8f2f..2730ef9008 100644 --- a/activesupport/lib/active_support/clean_logger.rb +++ b/activesupport/lib/active_support/clean_logger.rb @@ -20,6 +20,8 @@ class Logger #:nodoc: end private + alias old_format_message format_message + # Ruby 1.8.3 transposed the msg and progname arguments to format_message. # We can't test RUBY_VERSION because some distributions don't keep Ruby # and its standard library in sync, leading to installations of Ruby 1.8.2 -- cgit v1.2.3