Class: Logger::SimpleFormatter
- Defined in:
- lib/active_support/core_ext/logger.rb
Overview
Simple formatter which only displays the message.
Instance Method Summary collapse
-
#call(severity, timestamp, progname, msg) ⇒ Object
This method is invoked when a log event occurs.
Instance Method Details
#call(severity, timestamp, progname, msg) ⇒ Object
This method is invoked when a log event occurs
79 80 81 |
# File 'lib/active_support/core_ext/logger.rb', line 79 def call(severity, , progname, msg) "#{String === msg ? msg : msg.inspect}\n" end |