Class: ActiveSupport::Logger::SimpleFormatter
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Logger::Formatter
|
|
Instance Chain:
self,
Logger::Formatter
|
|
Inherits: |
Logger::Formatter
|
Defined in: | activesupport/lib/active_support/logger.rb |
Overview
Simple formatter which only displays the message.
Instance Method Summary
-
#call(severity, timestamp, progname, msg)
This method is invoked when a log event occurs.
Instance Method Details
#call(severity, timestamp, progname, msg)
This method is invoked when a log event occurs
# File 'activesupport/lib/active_support/logger.rb', line 103
def call(severity, , progname, msg) "#{String === msg ? msg : msg.inspect}\n" end