aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/clean_logger.rb
blob: 1a36562892aaa912e8f6bae5f0f851cf16e0eb15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
require 'logger'

class Logger #:nodoc:
  private
    remove_const "Format"
    Format = "%s\n"
    def format_message(severity, timestamp, msg, progname)
      Format % [msg]
    end
end