class ActiveSupport::Logger::SimpleFormatter

Parent:
Logger::Formatter

Simple formatter which only displays the message.

Public Instance Methods

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

This method is invoked when a log event occurs

© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.