class Rails::Pretty::Logger::ActiveSupportLogger::SimpleFormatter

Simple formatter which only displays the message.

Public Instance Methods

call(severity, timestamp, progname, msg) click to toggle source

This method is invoked when a log event occurs

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