instance method
call
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in 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/core_ext/logger.rb, line 113
def call(severity, timestamp, progname, msg)
"#{String === msg ? msg : msg.inspect}\n"
end
Defined in activesupport/lib/active_support/core_ext/logger.rb line 113
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Logger::SimpleFormatter