Skip to Content Skip to Search

class ActiveSupport::Logger::SimpleFormatter

Simple formatter which only displays the message.

Inherits From

Public instance methods

This method is invoked when a log event occurs

Source code GitHub
# File activesupport/lib/active_support/logger.rb, line 41
def call(severity, timestamp, progname, msg)
  "#{String === msg ? msg : msg.inspect}\n"
end

Definition files