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