Method: Logger::SimpleFormatter#call

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

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

This method is invoked when a log event occurs



77
78
79
# File 'lib/active_support/core_ext/logger.rb', line 77

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