instance method
call
Ruby on Rails 6.1.7.10
Since v4.0.13Signature
call(severity, timestamp, progname, msg)
This method is invoked when a log event occurs
Parameters
-
severityreq -
timestampreq -
prognamereq -
msgreq
Source
# File activesupport/lib/active_support/logger.rb, line 88
def call(severity, timestamp, progname, msg)
"#{String === msg ? msg : msg.inspect}\n"
end
Defined in activesupport/lib/active_support/logger.rb line 88
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Logger::SimpleFormatter