aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/clean_logger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/clean_logger.rb')
-rw-r--r--activesupport/lib/active_support/clean_logger.rb4
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