Method: ActiveSupport::Logger::SimpleFormatter#call

Defined in:
activesupport/lib/active_support/logger.rb

#call(severity, timestamp, progname, msg) ⇒ Object

This method is invoked when a log event occurs



41
42
43
# File 'activesupport/lib/active_support/logger.rb', line 41

def call(severity, timestamp, progname, msg)
  "#{String === msg ? msg : msg.inspect}\n"
end