Class: Thin::Logging::SimpleFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- Thin::Logging::SimpleFormatter
- Defined in:
- lib/thin/logging.rb
Overview
Simple formatter which only displays the message. Taken from ActiveSupport
Instance Method Summary collapse
Instance Method Details
#call(severity, timestamp, progname, msg) ⇒ Object
15 16 17 |
# File 'lib/thin/logging.rb', line 15 def call(severity, , progname, msg) "#{} #{String === msg ? msg : msg.inspect}\n" end |